denco / vscode-confluence-markup

Visual Studio Code extension for Confluence® markup
MIT License
27 stars 10 forks source link

List indenting level doesn't reset #6

Closed mginou closed 5 years ago

mginou commented 6 years ago

At the end of a list, the indenting level doesn't seem to reset properly.

Sample:

h4. Header Four

h4. next header (should not be indented)

denco commented 6 years ago

Hi, i've need some #more info,

actually what i've tested was correct rendered in Confluence too... Possible the problem is a new line after list three element. It will be rendered as new paragraph and list will closed before.

Check my test case. lists

wibblemonkey commented 5 years ago

I have experienced the same issue:

Markup:

h1. TITLE

h2. Section One

Section one.

h2. Section Two

Section two.

# Numbered List 1
# Numbered List 2

h2. Section Three

Section three.

h2. Section Four

Section four.

Preview in VSCode:

screenshot

Preview in Confluence:

screenshot2

Extension Version 0.1.3

Version: 1.26.1 Commit: 493869ee8e8a846b0855873886fc79d480d342de Date: 2018-08-16T18:38:57.434Z Electron: 2.0.5 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 Architecture: x64

denco commented 5 years ago

@wibblemonkey Hi Jim, thanx for providing more informations, now i've can approve that the issue existing.

Sorry for late answer - summer vacations.

Now, it's looks like bug on EOL with windows settings (CRLF) than renderer loose some new lines.

For the quick fix, just try to use Linux EOL (LF) and it should be rendered correctly.

Rendering with CRLF, will be fixed soon.

Thx!

denco commented 5 years ago

@mginou @wibblemonkey Hi, can U test the issue please, thx?