rehamaltamimi / gwtwiki

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

source tag for "sql" adds empty line as first line #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. using the source tag with lang = sql always produces an empty line as first 
line. formatter for other formats does this not. this seems to be happening for 
lang=sql only!

What is the expected output? What do you see instead?
imho the leading empty line should be removed since it (by removing the leading 
<br>), because:
1. does not look nice (see attached screenshot)
2. behaviour is inconsistent compared with the other formatters (e.g. with lang 
= dos and all others there is no leading <br> tag.

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

Please provide any additional information below.

the source snippet for the example is:

<source lang="sql">
select * from testtable WITH UR
</source>

Original issue reported on code.google.com by andreas....@gmail.com on 26 May 2011 at 5:43

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed with r3495 

Original comment by axelclk@gmail.com on 27 May 2011 at 2:31