Opened 12 years ago
Last modified 12 years ago
#10538 closed defect
restructuredtext renderer confused by utf-8 BOM — at Initial Version
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 0.12.4 |
Component: | rendering | Version: | 0.10 |
Severity: | normal | Keywords: | unicode bom |
Cc: | zooko@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
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.
Note:
See TracTickets
for help on using tickets.