mdformat icon indicating copy to clipboard operation
mdformat copied to clipboard

Compare parsed HTML

Open hukkin opened this issue 3 years ago • 1 comments

hukkin avatar Oct 11 '22 13:10 hukkin

Note to self: This PR was made originally to fix https://github.com/executablebooks/mdformat/issues/353, and to help with any similar future issues. https://github.com/executablebooks/mdformat/issues/353 is now fixed though.

If no good reason comes up to do what this PR does, merging this should be avoided, as this introduces pure Python HTML parsing and a lot of object creation to every file format operation. Current naive HTML string comparison (even if with a few regex replacements) should be a lot faster.

hukkin avatar Nov 11 '24 17:11 hukkin