restructuredtext renderer confused by utf-8 BOM
|Reported by:||anonymous||Owned by:||Christian Boos|
If there is a "utf-8 Byte Order Marker" at the front of an .rst file (the bytes 0xEFBBBF), then trac misrenders the first line of the file, by counting the length of that line incorrectly. (For example, if the length of a "======" line differs from the length of the subsequent title and following "======" line, then it won't be turned into a headline.) Trac should probably check for a byte order marker and remove it before rendering.
Change History (7)
comment:4 by , 10 years ago
|Component:||general → rendering|
|Keywords:||unicode bom added|
|Status:||new → assigned|