mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Try to fix missing header in Batch convert with WebVTT to ASSA
Fix #8707
This commit is contained in:
parent
835a2d08cd
commit
8ef56bb9bc
@ -173,7 +173,10 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text"
|
|||||||
if (isValidAssHeader)
|
if (isValidAssHeader)
|
||||||
{
|
{
|
||||||
styles = GetStylesFromHeader(subtitle.Header);
|
styles = GetStylesFromHeader(subtitle.Header);
|
||||||
|
header = subtitle.Header;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sb.AppendFormat(header, title).AppendLine();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user