hard linebreaks in developer docs on katello.org
the html contains many br tags in places where there should be none:
<p>Git commit messages should give a brief overview of the problem or feature along with a short<br /> description of what was implemented to fix the bug or feature. Well formatted git commit messages<br /> have two components: a short message and a long message or description. The short message ought to<br /> be limited to 70 characters while the long message should be wrapped at 74 or so characters. See<br /> below for an example. Also, you can read <a href="http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html">Tim Pope’s article about git message<br /> formatting</a>.</p>
it seems that the markdown converter converts "\n" to "<br>", while markdown actually demands only " space space \n" to be translated like this.
- pull in hard_wrap fix for kramdown-with-pygments plugin
- fixes #16875 - set hard_wrap: false for nicer wrapping of text
#2 Updated by Evgeni Golov over 4 years ago
So the issue seems to be http://kramdown.gettalong.org/options.html#option-hard-wrap
hard_wrap: false to the
kramdown section of
_config.yml does not seem to help.
#5 Updated by Evgeni Golov over 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-website|e62119451cae6082f65630b85a727a3e28b5d25e.