Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 May 2015 at 21:31 UTC
Updated:
22 Jun 2015 at 03:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xjmComment #2
xjmComment #3
pguillard commentedI wonder about that one:
Maybe too long, maybe not a flag..
Hope it helps anyway...
Comment #4
pguillard commentedComment #5
joelpittetWe can actually use
@here.!is now more meant for plain text use-cases. As long as the variable is safe it won't be escaped similar to what happens in the twig template.Regarding the comment. I think we could probably stop at this without explaining what a noscript tag is for:
What do you think?
Thank you for the patch @pguillard!
Comment #6
umarzaffer commentedSorry, made a silly miss! Submitting the corrected one next
Comment #7
umarzaffer commentedComment #9
RavindraSingh commentedThank you @umarzaffer for the patch.
@joelpittet, the patch #7 looks good to me.
This patch is using @ instead of !
Moving this to RTBC.
Comment #10
xjmThanks @umarzaffer and @RavindraSingh!
I think we can remove everything after the comma here since the tag is a part of the HTML spec.
The scope of the issue is just to document it; this change is out of scope. Can we remove it?
Comment #11
lokapujyaComment #12
ashutoshsngh commentedComment #13
RavindraSingh commentedThank you @xjm, for giving quick feedback.
Thanks @ashutoshsngh for new patch and @lokapujya for changes summary.
The patch added in #12 looks what @xjm has suggested. So moving this to RTBC
Comment #14
xjmApologies for the slightly hurried review before; I think there are a couple more things we need to do here:
(optional)at the beginning since it's not a required key.So something like:
Sorry for not catching this the first time around. :)
Comment #15
xjmUpdating the beta evaluation. It doesn't matter here, but be sure to review what's unfrozen for other issues. (Converting code to best practices is not unfrozen.) Thanks!
Comment #16
umarzaffer commentedThanks @xjm for reviewing and providing suggestions. Have added the documentation for #noscript as per your suggestion.
Comment #17
pguillard commentedI have not taken the time to continue the work. I think it is fair to move to RTBC.
Comment #18
xjmJust to confirm that the docs were complete and not missing anything, I went to look for when the element was originally added. It was in #2068471: Normalize Controller/View-listener behavior with a Page object to work around something:
Those problems were addressed in two interdiffs in #190 and #207 of that issue. Those comments didn't make it clear to me at first why setting the noscript tags as prefix and suffix didn't work, and I was trying to decide if we should document that here...
\Drupal\Tests\Core\Render\Element\HtmlTagTesthas test coverage and those tests only assert that the element does exactly what we say here. :) So this is fine I think, even if it is a weird internal-use edgecase thing.Since I kind of wrote the comment in its current form via my review, I think I probably shouldn't commit this myself, so assigning to @jhodgdon in case she has a chance to take a look at it.
Comment #19
jhodgdonLooks good to me! Committed to 8.0.x. Thanks all!