Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doubling underscores in URLs #128

Closed
jkingdon opened this issue Sep 26, 2023 · 1 comment · Fixed by #130
Closed

doubling underscores in URLs #128

jkingdon opened this issue Sep 26, 2023 · 1 comment · Fixed by #130

Comments

@jkingdon
Copy link
Contributor

metamath-knife produces an error on the following:

    $( A singleton is linearly independent iff it does not contain a torsion
       element.  According to Wikipedia ("Torsion (algebra)", 15-Apr-2019,
       ~ https://en.wikipedia.org/wiki/Torsion_(algebra) ):  "An element m of a

The error is:

warning: Invalid escape character
      --> set.mm:740600:47
       |
740600 |        ~ https://en.wikipedia.org/wiki/Torsion_(algebra) ):  "An element m of a
       |                                               - This escape character should be doubled
       |
       = note: This character has special meaning in this position, but it was not interpretable here.
       = note: Use ~~ or [[ or `` if you mean to include the character literally

However, underscores don't need to be doubled in URLs, do they? At least, if I use the metamath-exe SHOW STATEMENT/ALT_HTML to produce a web page, the undoubled underscore turns into an underscore here, and the doubled underscore turns into a doubled underscore (which is not what we want).

@tirix
Copy link
Collaborator

tirix commented Sep 26, 2023

According to @digama0's comment in #129, basically, underscores in URLs should be doubled.
Then this would not be an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants