﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
358	small extraction problem with i18n:msg	cboos	cmlenz	"Noticed that on Trac trunk today, while adding <i18n:msg> elements in ticket.html. If the content of such element ends with a closing tag and there's no text or space between the two closing tags, then the `[...]` group in the extracted message will be truncated.

e.g.
{{{
#!xml
<i18n:msg>A <a>link</a></i18n:msg>
}}}
will be extracted as:
{{{
msgid = ""A [1:link""
}}}

Note that the problem doesn't happen when the `i18n:msg` attribute is used instead of the `<i18n:msg>` element, but I'll add a test for that case as well, for completeness.

I'm not 100% confident about the fix (why was END a special case here in the first place?), but at least there's no regression in the Genshi test suite and the Trac extraction and translation still works fine."	defect	closed	major	0.6	Internationalization	0.5.1	fixed	i18n:msg	
