On 1/23/18, Jim Diamond <jim.diam...@acadiau.ca> wrote:
> You are right that turning line feeds into <br /> seems like a bad idea.

The descriptions are plain text, and sometimes have things like bulleted
or numbered lists, done in text.

  - Like this
  - And this

Some of them even have ASCII art... I shot myself in the foot on this
issue with a script that reformatted all the READMEs to make them
"better".

> But why remove the line feeds?  Unless they are in pre-formatted text
> are they not just white-space to HTML?

IIRC, the descriptions used to be inside a <pre> tag.

Now they're not, so there has to be a way to preserve the formatting. What
else is there besides <pre> or adding a <br> at the end of each line?

(That's not a rhetorical question, I haven't paid attention to HTML
standards for the last 15 or so years, so maybe there's a proper solution
I never heard of?)
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to