Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
node system
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
13 Mar 2015 at 10:58 UTC
Updated:
25 May 2015 at 20:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aneek commentedUploading a new patch, based on the proposed solution.
Comment #2
aneek commentedComment #3
arpitr commentedI tested, treating hook_requirements as function and checked the output on devel/php after installing devel module. Output seems to be same after patching.
Comment #4
alexpottNormally links are not done this way in translated strings since node_help() for an example...
t('The <a href="!content">Content administration page</a>...Comment #5
aneek commented@alexpott, using
<a href=""></a>like what you mentioned, HTML is double escaped. Generates,Code changes
Comment #6
aneek commentedNever mind :-). Uploading a new patch. Please review.
Comment #7
aneek commentedComment #8
star-szrYup, that looks better. Thanks @aneek!
Comment #9
star-szrMinor note, can be fixed on commit if the committer agrees :)
Do we even need this comment anymore? We're just doing a regular ol' t() here now, no concatenating, no SafeMarkup.
Comment #10
alexpottI agree with @Cottser - removed the comment on commit. This issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 9c44968 and pushed to 8.0.x. Thanks!
Comment #13
xjmComment #14
xjm