Benign github Download

test/md2man/html_test.rb

References a public code-forge URLHTTP URL targets an image file
SHA-25614ba92b622920dcf9b49e6d9fb3797f4b3b7570f77dd5b39886f482b683a1b51
MaleculeH(Cm₂)

Evidence

chomp trailing-newline trim lines 1–17
7 lines
8
9 def heredoc document
10 document.gsub(/^\s*\|/, '').chomp
11 end
12
5 lines
English function-word token "with" lines 30–34
30:3 OUTPUT
31 end
32
33 it 'renders tagged paragraphs with uniformly two-space indented bodies' do
34 @markdown.render(heredoc(<<-INPUT)).must_equal(here
English function-word token "and" lines 39–46
39:5 | but within 4-space indent
40 |
41 | and a single line following
42 |
43 | and multiple
44 | lines following
45 INPUT
46
HTTP URL targets an image file lines 104–107
104:6 |![Obligatory screenshot of md2man-roff(1) in action!](
105 |https://raw.github.com/sunaku/md2man/master/EXAMPLE.png)
106 INPUT
107 |<p><img src="https://raw.github.com/sunaku/md2man/master/EXAMPLE.png" alt="Obligatory screenshot of md2man-ro
References a public code-forge URL lines 217–225
217:102ml">is-a-reference(3)</a> yet again</p>
218 OUTPUT
219 end
220
221 it 'https://github.com/sunaku/md2man/issues/19' do
222 @markdown.render(heredoc(<<-INPUT)).must_equal(heredoc(<<-OUTPUT))
223 |### Macros
224 |
225

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.