summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-02-25 09:56:54 +0100
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-02-25 13:44:06 +0100
commit500d92007f358db02f00689717bb802c4fd3df89 (patch)
tree51ffa0bcebaff2180b28f448102f0fc44d1b61c3 /README.md
parent23d9799e09ea6192fb12d6091e31400fbd6c3a8d (diff)
Replace "." with "_" in HTML scopes IDs
Otherwise, scopes with dots in their names breaks the javascript code. From https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id: --- Note: Technically, in HTML5, the value for an id attribute may contain any character, except whitespace characters. However, to avoid inadvertent errors, only ASCII letters, digits, '_', and '-' should be used and the value for an id attribute should start with a letter. For example, . has a special meaning in CSS (it acts as a class selector). Unless you are careful to escape it in the CSS, it won't be recognized as part of the value of an id attribute. It is easy to forget to do this, resulting in bugs in your code that could be hard to detect. ---
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions