Tcl Library Source Code

Ticket Change Details
Bounty program for improvements to Tcl and certain Tcl packages.

Artifact ID: da0f11573450cb9cbf1d88eae606779ee214fb1640b8d33ff271c1350f5a1d1f
Ticket: ab0fdf9aead96e7a58d2c7330274a7250e2f8764
Markdown package handles \r incorrectly
User & Date: anonymous 2020-02-11 16:01:15

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/x-fossil-wiki"
  4. Change comment to:

    The command regsub {\r\n?} $markdown {\n} 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:

  5. Change is_private to "0"
  6. Change login to "anonymous"
  7. Change priority to "5 Medium"
  8. Change private_contact to "f4b679459a3c52d67a51ecd06fa3fba663ebe607"
  9. Change resolution to "None"
  10. Change severity to "Minor"
  11. Change status to "Open"
  12. Change submitter to "anonymous"
  13. Change subsystem to "markdown"
  14. Change title to "Markdown package handles \r incorrectly"
  15. Change type to "Bug"