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 export as Wiki example #571

Merged
merged 2 commits into from
Nov 21, 2024
Merged

Fix export as Wiki example #571

merged 2 commits into from
Nov 21, 2024

Conversation

RhoSigma-QB64
Copy link
Member

@RhoSigma-QB64 RhoSigma-QB64 commented Nov 21, 2024

This PR just fixes an escaping issue unveiled by the code example provided on the Wiki page https://qb64phoenix.com/qb64wiki/index.php/WAVE , some of the MML music in the DATA lines happend to build the <b> combo, which the wiki interpreted as the HTML tag for bold text.

Note that this issue only happend because the DATA content is not quoted in that example, one more reason to always use quotes, if the DATA element is not of pure numeric nature.

HTML export already used the proper escaping, the RTF format and Forum Codeboxes don't have the problem.

@RhoSigma-QB64 RhoSigma-QB64 self-assigned this Nov 21, 2024
@RhoSigma-QB64 RhoSigma-QB64 added the bug Something isn't working label Nov 21, 2024
- added ampersand escaping to also avoid faulty interpretation as HTML entity
@RhoSigma-QB64 RhoSigma-QB64 merged commit e02a75a into main Nov 21, 2024
4 checks passed
@RhoSigma-QB64 RhoSigma-QB64 deleted the export-fix branch November 21, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging this pull request may close these issues.

2 participants