fixed the error when paragraph above the image link has white spaces

#3
by DanielCL - opened

at line 27, I have added patterns for white spaces at the end of the previous paragraph: [\s]+]?

Also, I have made another option possible: if the post is already transformed by fix-imgs previously, then I can still paste the transformed post into the src textbox (leaving dest textbox empty) and still use fix-imgs-with-hide to add hide buttons to the post.

jph00 changed pull request status to merged

Sign up or log in to comment