Commit 2393f442 authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Rafaël Carré

Make sure font color attribute is quoted.

We need to add quotes to the color attribute for the font tag, or else
the XML parser will choke and the HTML will not be rendered.
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 4f42eeee
......@@ -986,9 +986,9 @@ static void Eia608TextLine( struct eia608_screen *screen, char *psz_text, int i_
"#ff00ff", // magenta
"#ffffff", // user defined XXX we use white
};
CAT( "<font color=" );
CAT( "<font color=\"" );
CAT( ppsz_color[color] );
CAT( ">" );
CAT( "\">" );
}
if( ( b_close_italics && b_italics ) || ( b_italics && !b_last_italics ) )
CAT( "<i>" );
......
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