Needs work
Project:
Pathologic
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Jun 2017 at 16:10 UTC
Updated:
16 Mar 2026 at 02:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
eojthebraveComment #3
eojthebraveThe attached patch updates the regular expression used to locate attributes that the pathologic filter should be run on so that it skips all the text inside of a
codeblock.Consider the following inside a code block.
Before regex update:
After update:
Comment #4
eojthebraveUpdate for latest version of the module.
Comment #5
dwwThanks for the report, and the proposed fix. In principle, I'm okay with this. I agree we shouldn't be touching anything inside code.
However, for this to be fixed, we need it as an MR, and we need to add some tests that prove we do the right thing with code blocks.
Maybe we can get this fixed before this issue has its 10th birthday party. 😅
Thanks again,
-Derek