Closed (outdated)
Project:
@font-your-face
Version:
7.x-2.x-dev
Component:
Code (general)
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2012 at 12:16 UTC
Updated:
8 Aug 2020 at 14:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Drave Robber commentedPatch attached.
Comment #2
sreynen commentedI think the
<pre></pre>needs to be added in the parameter, not the message. fontyourface_log() passes the message to watchdog(), which passes it to t(). http://drupal.org/node/322774 says block tags shouldn't be in messages, and<pre></pre>is a block tag.Comment #3
Drave Robber commented<blabla>While I believe 'block tags' might be a bit too formal criterion given how different use cases can be,</blabla>
this makes a lot of sense on entirely different grounds - not making existing translations obsolete if we can avoid that.
Now, putting
<pre>in the parameter would also require changing the placeholder from@to!; as we're mostly dumping external data, we should probably take some precautions. Sowould become
(for some obscure reason, theme_dblog_message() does
filter_xss()only on overview, not on details page)Thoughts?
Comment #4
neslee canil pinto