You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2019. It is now read-only.
Is too greedy. It results in any src="..." following an img being replaced, whether or not it's actually a property of the same element. It can easily catch srcs in code snippets etc., and ones that don't actually belong to <img> elements.
This can be quite frustrating for people trying to publish blog posts with code snippets.
The text was updated successfully, but these errors were encountered:
This regex:
https://github.com/canonical-websites/blog.ubuntu.com/blob/2062ed1fa8e55e56142707c02040d49a32b54564/helpers.py#L124
Is too greedy. It results in any
src="..."
following animg
being replaced, whether or not it's actually a property of the same element. It can easily catchsrc
s in code snippets etc., and ones that don't actually belong to<img>
elements.This can be quite frustrating for people trying to publish blog posts with code snippets.
The text was updated successfully, but these errors were encountered: