Build chokes on & in tag name #2331
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried to have the tag name contain an
&in this commit.In normal text, that works. In our build system, that leads to an error – not on the news item itself but when building the tag page as it seems.
Here an extract from Phase 2 of the build:
Interestingly, the actual tag's page builds fine:
[09:20:23] * Building tags/tagged-adaandzangemann.en.htmlIt's not high priority, but an unexpected behaviour.
tobiasd referenced this issue2023-03-29 09:47:02 +00:00
In xml files the build system chokes as well on an
&in the text.So, with the new build system a tag name with an ampersand in it is fine, ie
builds just fine, and renders properly on the actual list of tags for the page.
But in the tag overview the & is not parsed into an ampersand due to us escaping the xml text:
I think this is because of some other issues we had, but I do not think that matters too much?
Using & in the key of a tag does not work, IE
Results in a build error.
We still do not support an & in xml text with the new build process, but it works in xhtml it seems?
Perhaps we can close this issue?
It seems the escaping tag names was not in fact necessary, and I have pr to remove it here: #5279
This means that after that pr is merged using an
&in a tag text works perfectly, which I think satisfies this issue. @tobiasdthanks!