File: div_without_newline.md

package info (click to toggle)
ruby-maruku 0.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 1,304 kB
  • sloc: ruby: 5,741; xml: 235; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 323 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Handle blocks of block HTML without a newline. https://github.com/bhollis/maruku/issues/123
REXML won't clean up the HTML the way Nokogiri will...
*** Parameters: ***
{ }
*** Markdown input: ***
Heres some HTML.
<div>
Foo
</div>
*** Output of inspect ***

*** Output of to_html ***
<p>Heres some HTML.</p>
<div>
Foo
</div>