watermarkchurch / wcc-contentful

An alternative to Contentful's contentful.rb ruby client, contentful_model, and contentful_rails gems all in one.
MIT License
2 stars 1 forks source link

safe-line-break #131

Closed gburgett closed 5 years ago

gburgett commented 5 years ago

safe_line_break now wraps the text in a <span> tag which includes a corresponding CSS style setting white-space: pre-wrap. This allows newlines in the source text to actually display properly on screen.

refs https://github.com/watermarkchurch/paper-signs/pull/100

watermarkchurch-bot commented 5 years ago
1 Warning
:warning: No issue referenced - please create an issue describing a single unit of work and reference it using “closes #[the issue number]”

Generated by :no_entry_sign: Danger

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 94.894% when pulling 6964aee2b2eb1b169c1e3ede92e9d85f3268fefe on safe-line-break into f710c0e9008629e8c30ed65583bd3340c705b3ea on master.