Closed (fixed)
Project:
Translation template extractor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2009 at 03:28 UTC
Updated:
21 May 2010 at 16:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
gábor hojtsyWow, we definitely did not expect people to put HTML into their descriptions. Looks like this needs to be fixed indeed.
Comment #2
johnalbinZen has been doing this for quite a while. :-D
The theme description links to the online documentation.
Comment #3
gábor hojtsyOk, I've looked at the existing code, and not at all sure why it uses
addcslashes($value, "\0..\37\\\"")for stuff coming from previously quoted strings, (after stripping off existing quotes in _potx_format_quoted_string()) but I've applied this same treatment to the info file strings. Let me know if this works for you. Bytes from \0 to \37 should never appear in .info file strings anyway, theoretically.Please test and review so we can fix this issue.
Comment #4
Takafumi commented#3 patch works fine and fixed this issue.
Comment #5
gábor hojtsyCommitted to D6, to be ported to D7.
Comment #6
gábor hojtsyD7 port.