Skip to content

Text correction breaks HTML-colors #224

@Nadyita

Description

@Nadyita

Recently, a lot of subtitles, especially for reality shows, come with different colors for the speakers, because they speak over each other. When I run text corrections on these, Gaupol tries to replace every </font> <font color="XXX"> with just a space, even if the <font color="XXX"> actually switches to a new color. Example:

<font color="#00ff00">Yes, exactly.</font> <font color="#00ffff">Oh, wow!</font> <font color="#ffff00">Nice.</font>

would become

<font color="#00ff00">Yes, exactly. Oh, wow! Nice.</font>

It would be nice to have a switch to turn this off, because it makes it a lot harder for a deaf person to understand who said what.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions