Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Fix image src attributes on minified html. #562

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alippai
Copy link

@alippai alippai commented May 29, 2015

It failed if there was no newline character at the end of the <img> tag. Replaced only the first occurrence.

It failed if there was no newline character at the end of the `<img>` tag. Replaced only the first occurrence.
@sindresorhus
Copy link
Member

Can you add a test that would fail before this change?

@alippai
Copy link
Author

alippai commented Jun 3, 2015

Sure! Sorry for the delay.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants