Tcl Library Source Code

Ticket Change Details
Login
Overview

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. 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]
    
  5. is_private changed to: "0"
  6. login: "anonymous"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "f4b679459a3c52d67a51ecd06fa3fba663ebe607"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "anonymous"
  13. subsystem changed to: "markdown"
  14. title changed to: "Markdown package handles \r incorrectly"
  15. type changed to: "Bug"