One9398 / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

Vimwiki2Html handle the blank lines in code #387

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.using SyntaxHighlighter
2.blank lines in code part will be add <p> </p> tags

What is the expected output? What do you see instead?

expected output:

<pre class="brush:python">
summer = Bird()
class Chicken(Bird):
way_of_move = ‘walk’
possible_in_KFC = True

class Oriole(Bird):
way_of_move = 'fly'
possible_in_KFC = False

summer = Chicken()
print summer.have_feather
print summer.move(5,8)
</pre>

instead:
<pre class="brush:python">
summer = Bird()
class Chicken(Bird):
way_of_move = ‘walk’
possible_in_KFC = True
</p>

<p>
class Oriole(Bird):
way_of_move = 'fly'
possible_in_KFC = False
</p>

<p>
summer = Chicken()
print summer.have_feather
print summer.move(5,8)
</pre>

What version of the product are you using? On what operating system?

2.0.1 Windows 7 64bit

Please provide any additional information below.

Original issue reported on code.google.com by wogon...@gmail.com on 21 Nov 2012 at 2:37