Skip to content

EncodePreTagsPlugin#97

Merged
mbien merged 3 commits into
apache:masterfrom
mbien:sourcecode_plugin
Aug 8, 2021
Merged

EncodePreTagsPlugin#97
mbien merged 3 commits into
apache:masterfrom
mbien:sourcecode_plugin

Conversation

@mbien

@mbien mbien commented Jul 11, 2021

Copy link
Copy Markdown
Member

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

@snoopdave snoopdave left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Very nice!

@mbien

mbien commented Aug 5, 2021

Copy link
Copy Markdown
Member Author

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.

@snoopdave snoopdave left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@mbien

mbien commented Aug 6, 2021

Copy link
Copy Markdown
Member Author

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