[FIX] Minor issue with spaces in teletext #930
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
My familiarity with the project is as follows (check one):
Currently setting a colour doesn't necessarily add a space even though the specifications mandate it. This commit is designed to change that.
This is designed to fix a different problem than #922. There is currently no space when the colour changes in teletext (except with --nofontcolor). See for example this sample which contains multiple instances of what I am talking about. The default output (with colours) contains the following (only lines that show this have been kept):
Whereas with --nofontcolor the output is:
As one sees without --nofontcolor there is no space between '?' and 'Ja' in the second line, between '!' and '"' in the fourth and between '!' and 'U' in the 12th line. This little patch adresses this.