I’m posting AppleScript on the Keyboard Maestro forum using a code-block.
A user reported a compile problem with my code.
Rendered by Discourse:
set foundList to cng("<td class=\"pricesens\">.+title=[[:punct:]](price sensitive)[[:punct:]]>", "\\1", foundList) of me
What should be:
Is rendering as:
<code></code> block on the forum I can get the few characters above to show up correctly by adding a backslash, but it the code-block doesn’t like my complete line of code.
<pre></pre> tags doesn’t help on the forum, although it works perfectly well in a normal html page.
Code-blocks should be completely unadulterated, so I conclude this is a bug.