Commit 570c1946 authored by Laurent Aimar's avatar Laurent Aimar

Do not try to fix the font color attribute at the codec level.

parent be03564a
...@@ -684,8 +684,6 @@ static char *CreateHtmlSubtitle( int *pi_align, char *psz_subtitle ) ...@@ -684,8 +684,6 @@ static char *CreateHtmlSubtitle( int *pi_align, char *psz_subtitle )
i_len = strcspn( psz_subtitle, " \t>" ); i_len = strcspn( psz_subtitle, " \t>" );
} }
HtmlPut( &psz_html, "\"" ); HtmlPut( &psz_html, "\"" );
if( !strcmp( psz_attribs[ k ], "color=" ) && *psz_subtitle >= '0' && *psz_subtitle <= '9' )
HtmlPut( &psz_html, "#" );
HtmlNPut( &psz_html, psz_subtitle, i_len ); HtmlNPut( &psz_html, psz_subtitle, i_len );
HtmlPut( &psz_html, "\"" ); HtmlPut( &psz_html, "\"" );
......
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