Menu

#169 Wiki text Dollar replacement in code block

v1.0 (example)
closed-fixed
None
3
2023-12-03
2023-03-24
Jim Murray
No

The code in HTMRenderer.java

} else if (mode.startsWith("view")) {
            // dollar signs lead to errors in the regexps
            content = content.replace("$", "$");
        }

Will cause any $ (Dollar) characters in a code block to display in the final output as & dollar;

e.g,

```
9777    $$SQL$GV_CMD_LINE_FLAGS_SREF (CMD_LINE$V_NOG_FLOAT) = TRUE
```

being inside a < code > block in the browser page the HTML markup will not be rendered as "$"
and will result in the following display :

 9777    &dollar;&dollar;SQL&dollar;GV_CMD_LINE_FLAGS_SREF (CMD_LINE&dollar;V_NOG_FLOAT) = TRUE

Related

Wiki: NewFeatures231

Discussion

  • Ulf Dittmer

    Ulf Dittmer - 2023-03-24
    • assigned_to: Ulf Dittmer
     
  • Ulf Dittmer

    Ulf Dittmer - 2023-03-24

    Thanks for reporting that. It will be fixed in the next release.

     
  • Jim Murray

    Jim Murray - 2023-04-19

    thanks Ulf. downloaded and tried. works well. thanks for the speedy update

     
  • Ulf Dittmer

    Ulf Dittmer - 2023-12-03
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.