-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix white space #101
fix white space #101
Conversation
@da1nerd I noticed these warnings in a USFM check today, and wondered if they might also be covered by this set of changes: Could it also be USFM-JS sometimes appending \p markers to the ends of lines and often with superfluous spaces before or after? (The \p markers should be on the following line.) |
@RobH123 I'm making some additional tweaks to fix those bugs you mentioned.
|
Great! I'm glad I noticed those while your mind was still in here. I'd forgotten that it often did that. No to #1. Please leave blank lines in. The editors use them for visual breaks. They do no harm. If you wanted, I think it would be ok to normalise two or more blank lines just to one. Please ensure that the file ends with a (single) newline. Yes to #2. I know of no need to ever have trailing spaces. Thanks @da1nerd . |
@@ -1,86 +1,86 @@ | |||
\id ACT EN_ULT en_English_ltr Wed Oct 10 2018 11:55:23 GMT-0400 (EDT) tc | |||
\c 1 | |||
\v 20 " | |||
\zaln-s | x-strong="G10630" x-lemma="γάρ" x-morph="Gr,CC,,,,,,,," x-occurrence="1" x-occurrences="1" x-content="γὰρ" | |||
\zaln-s |x-strong="G10630" x-lemma="γάρ" x-morph="Gr,CC,,,,,,,," x-occurrence="1" x-occurrences="1" x-content="γὰρ" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should leave the spaces in this file. This is to verify that we can still import the old file format.
@@ -1,106 +1,106 @@ | |||
\id ACT EN_ULT en_English_ltr Wed Oct 10 2018 11:55:23 GMT-0400 (EDT) tc | |||
\c 1 | |||
\v 1 | |||
\zaln-s | x-strong="G25320" x-lemma="καί" x-morph="Gr,D,,,,,,,,," x-occurrence="1" x-occurrences="1" x-content="καὶ" | |||
\zaln-s |x-strong="G25320" x-lemma="καί" x-morph="Gr,D,,,,,,,,," x-occurrence="1" x-occurrences="1" x-content="καὶ" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
@@ -1,69 +1,69 @@ | |||
\id ACT EN_ULT en_English_ltr Wed Oct 10 2018 11:55:23 GMT-0400 (EDT) tc | |||
\c 1 | |||
\v 4 | |||
\zaln-s | x-lemma="καί" x-morph="Gr,CC,,,,,,,," x-occurrence="1" x-occurrences="1" x-strong="G25320" x-content="καὶ" | |||
\zaln-s |x-lemma="καί" x-morph="Gr,CC,,,,,,,," x-occurrence="1" x-occurrences="1" x-strong="G25320" x-content="καὶ" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
@da1nerd This is probably ready to go with just the above tweaks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
See unfoldingWord/translationCore#7164
\p should not have any trailing spaces before the newline
I added a fix for unfoldingWord/translationCore#7165 as well since it was closely related. This removes white space after the pipe |.
There are a ton of file changes, but those are mostly updated test files.
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)