-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line breaks in attributes #144
Comments
Yes, i have also faced the issue starting from version 0.6.0 |
Thanks for reporting this, and sorry for the trouble! I'll take a look this On Mon, Jan 18, 2016 at 6:26 AM Subhash notifications@github.com wrote:
|
@karensg or @subhash85 I'm trying to track down this issue, but running what you pasted above is giving identical results between 0.5.9 and 0.6 / 1.0. Can you provide additional detail about what's different in your results between the two version, and any additional options that might effect the output? Thanks! |
Yes, of course.
HTMLmin options:
HTML that fails: <textarea class="form-control form-area" maxlength="5000" name="bio" ng-model="artist.bio" ng-required="true" placeholder="Vertel de bezoeker je verhaal en wat jouw optreden uniek maakt.
Let op: verwijzingen naar andere websites of pagina's op sociale media worden verwijderd." tabindex="5"></textarea> |
@karensg can you also provide the correct result that you're seeing from 0.5.9 and indicate what 0.6.0 is doing wrong? Sorry for all the questions, but i'm having a hard time getting the two versions to produce different results. Thanks! |
Thanks for looking at the issue.
This is 0.5.9
|
Oooh, interesting. It looks like it's the |
Yes, it fixes the problem. Thanks a lot. |
Hi,
Version 0.6 and 1.0.1 have some unexpected behavior for line breaks in attributes.
Try the following:
The output of the 0.5.9 and 0.6 is different. In version 0.6, the string of the first line is only closed on a new line which breaks the integration with ngAnnotate.
Btw: thanks for updating dependencies in 1.0. Very happy about it!
Karens
The text was updated successfully, but these errors were encountered: