Commit 6c9ba4dc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Subtitles: hide {Y:xxx } like tags

parent 457acd2c
......@@ -949,6 +949,12 @@ static char *CreateHtmlSubtitle( int *pi_align, char *psz_subtitle )
/* Hide {\stupidity} */
psz_subtitle = strchr( psz_subtitle, '}' ) + 1;
}
else if( psz_subtitle[0] == '{' && psz_subtitle[1] == 'Y'
&& psz_subtitle[2] == ':' && strchr( psz_subtitle, '}' ) )
{
/* Hide {Y:stupidity} */
psz_subtitle = strchr( psz_subtitle, '}' ) + 1;
}
else
{
*psz_html = *psz_subtitle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment