Translatable strings such as <none> and <current> will result in translated strings which are rejected when being imported into a Drupal site. The import code checks for possible malicious code in translations and will reject any string using <some text> but is no valid HTML.

CommentFileSizeAuthor
#1 fb-pointy-brackets-1957946-1.patch2.41 KBsutharsan

Comments

sutharsan’s picture

Status: Active » Needs review
StatusFileSize
new2.41 KB

This patch replaces the <some text> strings with - some text - strings.

Dave Cohen’s picture

drupal core calls t('<none>'). Is there any documentation suggesting module developers can't use the same thing?

Dave Cohen’s picture

Issue summary: View changes

Updated issue summary.