I'v encountered what seems to be a bug in PHP Markdown v1.0.1k. Given a UTF-8 with a BOM, the first line is not parsed.

A brief search revealed a bug report for a similar issue in python- markdown:

I'm using the markdown.py command to generate HTML from Markdown documentation and I've found that if a utf-8 file starts with a BOM a paragraph is generated containing only the BOM and it ignores the header that's on the first line.

http://sourceforge.net/mailarchive/message.php? msg_name=fa4efbc00703241329pab42015oec74e86ddf8d6cde%40mail.gmail.com

This isn't a major issue for me (I actually included the BOM by mistake), but I haven't heard about it on this list before, so I'm sharing it now.

Bruce Phillips

_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to