Commit afdbf365 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Subtitles: font attributes can use ''

Ref #6720
parent 5fe54fde
......@@ -666,6 +666,11 @@ static char *CreateHtmlSubtitle( int *pi_align, char *psz_subtitle )
psz_subtitle++;
i_len = strcspn( psz_subtitle, "\"" );
}
else if( *psz_subtitle == '\'' )
{
psz_subtitle++;
i_len = strcspn( psz_subtitle, "'" );
}
else
{
i_len = strcspn( psz_subtitle, " \t>" );
......@@ -675,7 +680,7 @@ static char *CreateHtmlSubtitle( int *pi_align, char *psz_subtitle )
HtmlPut( &psz_html, "\"" );
psz_subtitle += i_len;
if( *psz_subtitle == '\"' )
if( *psz_subtitle == '\"' || *psz_subtitle == '\'' )
psz_subtitle++;
break;
}
......
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