In G5, dollar sign followed by a number needs to be escaped #1782

JoomFX opened this Issue Jan 7, 2017 · 2 comments


None yet

2 participants

JoomFX commented Jan 7, 2017 edited

Hi guys,

In G5, in order to show the dollar sign followed by a number ( $1 ) we need to escape it first, like this - \$1
While it does not need to be escaped in Protostar.
Here, have a look at this video.

I was wondering what's causing this behavior and if it can be changed?
It might sound as a minor/cosmetic thing, but for existing websites that have hundreds of articles with the above code, it actually turns into an issue.

EDIT: Sorry, forgot to say that it is about the <pre> tag. Here's an example code:

@mahagr mahagr added the bug label Jan 9, 2017
mahagr commented Jan 9, 2017

I was able to find the issue.

@mahagr mahagr added a commit that referenced this issue Jan 9, 2017
@mahagr mahagr Fixed `$1` and `\\1` being lost inside `<pre>` and `<code>` blocks (#… a925ec3
@mahagr mahagr added this to the 5.4.3 milestone Jan 9, 2017
@mahagr mahagr closed this Jan 9, 2017
JoomFX commented Jan 9, 2017

Thanks Matias 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment