Skip to content
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

Unwelcome poetry reflow from .txt #241

Open
gbnewby opened this issue Oct 14, 2024 · 3 comments
Open

Unwelcome poetry reflow from .txt #241

gbnewby opened this issue Oct 14, 2024 · 3 comments

Comments

@gbnewby
Copy link
Collaborator

gbnewby commented Oct 14, 2024

My understanding, and some of our documentation, is that adding two spaces at the start a line prevents it from being wrapped, when promoted to HTML5.

In https://www.gutenberg.org/ebooks/74578 unwelcome wrapping is occurring with a poetry fragment starting with:

Maan tomu-uurna:

tulen ja tuhkan taru kiertää sen.

Is this something that recently stopped working in ebm? Or, is our understanding of how to prevent wrapping, for poetry & other content, incorrect?

@eshellman
Copy link
Collaborator

No changes in 10 years AFAIK. Looking at the source file, I'm guessing that the plain text parser is interpreting the first few stanzas as verse and the stuff after "Maan" as justified plaintext.

Can't change the plain text parsing behavior. if there's documentation that's wrong, we can correct it.

@gbnewby
Copy link
Collaborator Author

gbnewby commented Oct 16, 2024 via email

@eshellman
Copy link
Collaborator

The best signal for verse paragraphs in text is: more than one line indented with respect to the first line of the paragraph.

We can improve our css to left justify the verse if that is desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants