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

EncodePreTagsPlugin #97

Merged
merged 3 commits into from
Aug 8, 2021
Merged

EncodePreTagsPlugin #97

merged 3 commits into from
Aug 8, 2021

Conversation

mbien
Copy link
Member

@mbien mbien commented Jul 11, 2021

Simple weblog entry plugin which can be used to escape angle brackets from text within pre tags.

It understands the common pattern of pre and code tag in succession which is used by javascript source code highlighters and doesn't escape code tags directly following pre.

Hopefully useful for programmers which like to blog in html mode and simply paste code into pre tags without breaking the page.

@mbien mbien changed the title EscapeSourceCodePlugin EncodePreTagsPlugin Jul 14, 2021
Copy link
Contributor

@snoopdave snoopdave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@mbien
Copy link
Member Author

mbien commented Aug 5, 2021

just found a bug while writing a blog entry :) I always forget that a Matcher doesn't like '$'' signs in the input by default. Have to fix this first - should be easy.

Copy link
Contributor

@snoopdave snoopdave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbien
Copy link
Member Author

mbien commented Aug 6, 2021

LGTM

you are too fast for me Dave, now its fixed :)

@mbien mbien merged commit f90f714 into apache:master Aug 8, 2021
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