mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 17:54:53 +09:00
d8d2d160a0
At the beginning the rendering was invalid because it parsed the entire content as a single line. For some reason, when I read the ticket description from the DB, all newlines are returned as CRLF. I don't know why yet or whether it can or should be changed, but as a quick fix, I made the handler function filter out the CRs from the text. Then the rendering is correct. This matches the documentation of Pandoc, which mentions the readers assume newlines are encoded as LF. |
||
---|---|---|
.. | ||
key | ||
project | ||
repo | ||
ticket | ||
breadcrumbs.cassius | ||
breadcrumbs.hamlet | ||
default-layout-wrapper.hamlet | ||
default-layout.cassius | ||
default-layout.hamlet | ||
homepage.hamlet | ||
password-field.hamlet | ||
people.hamlet | ||
person-new.hamlet | ||
person.hamlet | ||
personal-overview.hamlet |