mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-30 02:25:54 +00:00
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1521
Author: @dhouck
Created: 3/27/2023
Status: ✅ Merged
Merged: 3/28/2023
Merged by: @cfsmp3
Base:
master← Head:webvtt-full-unicode📝 Commits (1)
b622b18[FIX] #1520 keep webvtt-full formatting in sync📊 Changes
2 files changed (+14 additions, -41 deletions)
View changed files
📝
docs/CHANGES.TXT(+1 -0)📝
src/lib_ccx/ccx_encoders_webvtt.c(+13 -41)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Fixes #1520 so that style and text donʼt get out of sync.
I can see a few other issues (mentioned below) which I donʼt have sample files for so I can neither submit full issues nor personally fix, and fixing them might mean a rewrite of the entire loop or even the function:
normal<i>italics<u>both</i>underlined, or even worse with colors)--nohtmlescapeit does not escape unsafe characters (which SRT also doesnʼt).Fixing those probably requires a much bigger refactor than I am able to do at the moment, and probably for most cases the first wonʼt be an issue (I expect most parsers to handle it properly but havenʼt checked), and unless the subtitles contain HTML the second probably isnʼt an issue either.
The reason I made
buffive bytes is in case Iʼm wrong about it needing a full rewrite; this way it can fit all of&, although it will never contain it as things are now.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.