[GFM] Implement the tagfilter extension - #212
Merged
Ilia Permiashkin (p3rmiashkin) merged 1 commit intoAug 18, 2026
Merged
Conversation
Ilia Permiashkin (p3rmiashkin)
self-requested a review
August 18, 2026 13:49
Contributor
|
Leo (@LouisLou2) Hi! Can you please rebase your branch on the latest |
Leo (LouisLou2)
force-pushed
the
feat/gfm-tagfilter
branch
from
August 18, 2026 14:33
191321e to
9877070
Compare
Contributor
Author
Done! I've rebased the branch onto the latest master and added a changelog entry under Unreleased. |
Ilia Permiashkin (p3rmiashkin)
merged commit Aug 18, 2026
a9269a4
into
JetBrains:master
3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implement the GFM
tagfilterextension for raw HTML rendering.The extension replaces the leading
<with<for the following tags, matched case-insensitively:titletextareastylexmpiframenoembednoframesscriptplaintextBoth inline HTML and HTML blocks are covered. Other HTML tags and CommonMark rendering remain unchanged.
This also tightens the type 7 HTML block start condition: after a complete opening or closing tag, only whitespace may appear before the end of the line. The previous condition incorrectly classified lines such as
<strong> <title>as HTML blocks.Closes #211
Tests
Added coverage for:
<scripture>Existing GFM HTML block expectations were updated because
GFMFlavourDescriptorenables GFM extensions globally.Verification
./gradlew jvmTest./gradlew jsNodeTestCloses #ISSUE_NUMBER