Overview
Artifact ID: | da0f11573450cb9cbf1d88eae606779ee214fb1640b8d33ff271c1350f5a1d1f |
---|---|
Ticket: | ab0fdf9aead96e7a58d2c7330274a7250e2f8764
Markdown package handles \r incorrectly |
User & Date: | anonymous 2020-02-11 16:01:15 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
The command <TT>regsub {\r\n?} $markdown {\n}</tt> in proc [convert] replaces the first CR/CR+LF in the Markdown text with the literal string {\n}. This cannot be the intended behavior. It would make sense for it instead to replace every occurrence of CR/CR+LF with \n. Here is how this bug was fixed in Tclssg, which also includes a fork of the Caius Markdown package: [https://github.com/tclssg/tclssg/commit/c1ab12a496312ca4c1f06219873b7f266ff5c10d]
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "f4b679459a3c52d67a51ecd06fa3fba663ebe607"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "markdown"
- title changed to: "Markdown package handles \r incorrectly"
- type changed to: "Bug"