Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
afdbf365
Commit
afdbf365
authored
Apr 29, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Subtitles: font attributes can use ''
Ref #6720
parent
5fe54fde
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/codec/subsdec.c
modules/codec/subsdec.c
+6
-1
No files found.
modules/codec/subsdec.c
View file @
afdbf365
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment