Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embedding notes via header distorts the order of elements #153

Closed
fnumatic opened this issue Oct 21, 2022 · 3 comments
Closed

embedding notes via header distorts the order of elements #153

fnumatic opened this issue Oct 21, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@fnumatic
Copy link
Contributor

Describe the bug
The resulting html contains wrong ordered elements after embedding notes into slides via [[file|header]]

Samples to Reproduce

# slide test
---
![[bar embed#Foo]]
# bar embed

## Foo
- 1
- 2
- 3
- 4

extra line

results in
screen embed w heading
wrong order html

Expected behavior
It should be like
screen embed raw
right order html

@fnumatic fnumatic added the bug Something isn't working label Oct 21, 2022
@fnumatic
Copy link
Contributor Author

here are some logging trace

  1. md direkt on slide
  2. md via file embed
  3. md via file#header embed

it seems that an empty line get's removed

plugin:obsidian-advanced-slides:318 merge & template: 

# slide test

---
## Foo
- 1
- 2
- 3
- 4

extra line

---
## Foo
- 1
- 2
- 3
- 4

extra line

---
## Foo
- 1
- 2
- 3
- 4
extra line


---

@MSzturc
Copy link
Owner

MSzturc commented Oct 22, 2022

I was able to reproduced this issue. will be fixed in next version

@MSzturc
Copy link
Owner

MSzturc commented Nov 3, 2022

will be fixed with 1.19

@MSzturc MSzturc closed this as completed Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants