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

[MARKUP] text warped to next line inside tags. #139

Closed
TheComputerM opened this issue Sep 9, 2020 · 1 comment · Fixed by #141
Closed

[MARKUP] text warped to next line inside tags. #139

TheComputerM opened this issue Sep 9, 2020 · 1 comment · Fixed by #141

Comments

@TheComputerM
Copy link

Input

<h1>
  Svelte Materialify
  <small class="text-h5 d-block text--secondary">
    🔨 Under Construction
  </small>
</h1>

Output

<h1>
  Svelte Materialify <small class="text-h5 d-block text--secondary"> 🔨 Under
    Construction </small>
</h1>

The 🔨 Under Construction should stay in one line, looks ugly otherwise.

@ehrencrona
Copy link
Contributor

@TheComputerM Thanks for the bug report!

dummdidumm pushed a commit that referenced this issue Sep 12, 2020
Fixes #139

The real change in the code is having extractOutermostNewlines run on each batched node individually, rather than all of them as a group. This pulls up line nodes one level higher, outside of the flow they'd otherwise be in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants