fix(parser): escape raw less-than characters #226
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
arduinohatesme/leetcode.nvim!226
Loading…
Reference in a new issue
No description provided.
Delete branch "ChEnylnti/fix/escape-raw-less-than"
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?
Summary
Fix rendering of raw less-than characters in problem descriptions.
Some problem descriptions include inline code like
<code>k < 0</code>. The raw<can be parsed as the start of an HTML tag, causing the rendered description to drop the< 0part.This escapes raw less-than characters before HTML parsing in both the default and CN normalizers.
Verification
<code>k < 0</code>ask < 0<code>k < 0</code>ask < 0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.