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

Fix #2914 #3412

Merged
merged 3 commits into from
Sep 27, 2023
Merged

Fix #2914 #3412

merged 3 commits into from
Sep 27, 2023

Conversation

iadawn
Copy link
Contributor

@iadawn iadawn commented Sep 21, 2023

When XSLT call-template is used and the template includes Javascript (probably anything really) with '=>' it helpfully converts the '>' to the HTML entity '>'. This of course breaks the Javascript when it comes round to running the stuff.

This change uses a different approach to setting up highlight.js that does not need '=>'.

I should have probably worked out why the '>' is being converted to '>' but realistically I know more about Javascript than I do about XSLT and life is short.

@alastc
Copy link
Contributor

alastc commented Sep 27, 2023

I removed my attempt to fix this as well, which didn't seem to have worked on live.

@alastc alastc merged commit 74d3e0a into main Sep 27, 2023
1 check passed
@alastc alastc deleted the Fix-syntax-highlighting branch September 27, 2023 11:46
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 this pull request may close these issues.

2 participants