Hi, I just start to use MP4box few days ago. this is fantastic, thank you all.
Could you please check the problem I met below:

Product: gpac/mp4box 2.0 for win-x64 (the latest stable) issued on 2022/02/22
Problem: part of font tag in srt could be miss after importing
Enviroment: Win10 command prompt
Command: mp4box -add vediofile.mp4 -add  subtitle.srt targetfile.mp4

SRT sample in input file:
1
00:00:01,200 --> 00:00:04,000
\<font color=#FFFF70>The first language\</font>
The second language (english) line
(File encoding: Win CRLF UTF-8)

Text in MP4 file, same as the exported to STR file:
1
00:00:01,200 --> 00:00:04,000
\<font color=#FFFF70>The first language
The second language (english) line

The \</font> at the end of the first language line is missing.
When I open a new command prompt, and tried to export to a text-only MP4, seems the outfile is correct, but later I repeat the same command, I always got problems.
I tried with an older version (MP4box 0.5), didn't see this problem

- [x] I looked for a similar issue and couldn't find any.
- [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/
- [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95

Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/

Missing </font> tag after import srt subtitle
This is a GitHub Issue
repo:gpac
owner:gpac
Title : Missing </font> tag after import srt subtitle
Issue date:

--- start body ---
Hi, I just start to use MP4box few days ago. this is fantastic, thank you all.
Could you please check the problem I met below:

Product: gpac/mp4box 2.0 for win-x64 (the latest stable) issued on 2022/02/22
Problem: part of font tag in srt could be miss after importing
Enviroment: Win10 command prompt
Command: mp4box -add vediofile.mp4 -add  subtitle.srt targetfile.mp4

SRT sample in input file:
1
00:00:01,200 --> 00:00:04,000
\<font color=#FFFF70>The first language\</font>
The second language (english) line
(File encoding: Win CRLF UTF-8)

Text in MP4 file, same as the exported to STR file:
1
00:00:01,200 --> 00:00:04,000
\<font color=#FFFF70>The first language
The second language (english) line

The \</font> at the end of the first language line is missing.
When I open a new command prompt, and tried to export to a text-only MP4, seems the outfile is correct, but later I repeat the same command, I always got problems.
I tried with an older version (MP4box 0.5), didn't see this problem

- [x] I looked for a similar issue and couldn't find any.
- [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/
- [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95

Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/

--- end body ---
