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

Do not add whitespace between text and HTML nodes (fixes #24) #116

Closed

Conversation

ehrencrona
Copy link
Contributor

@ehrencrona ehrencrona commented Aug 10, 2020

Do not add a line break before the comma in <b>Milk</b>, <b>Bread</b>, inside the quotation marks in "<i>Hola</i>" or "<i>Hello</i>" or inside the links in click <a href=''>here</a> or <a href=''>there</a>

This was merged as part of #120. Closing this.

Fixes #103 Fixes #24
It has also been reported as sveltejs/language-tools#64

Looking at #58, it does not fix the discrepancies between the standard HTML formatting and svelte (it will line break between a and href), but it does preserve whitespace in an appropriate way.

@ehrencrona ehrencrona changed the title Do not add whitespace between text and HTML nodes (fixes #103) Do not add whitespace between text and HTML nodes (fixes #24) Aug 10, 2020
@dummdidumm
Copy link
Member

Also reported in sveltejs/language-tools#323

@ehrencrona ehrencrona closed this Aug 27, 2020
rudolfs added a commit to radicle-dev/radicle-upstream that referenced this pull request Sep 3, 2020
rudolfs added a commit to radicle-dev/radicle-upstream that referenced this pull request Sep 4, 2020
* Adjust existing onboarding visuals
* Split out component
* Add "enter passphrase" screen
* Fix clearing session ends up on blank screen
* Rename identity creation flow to onboarding
* Move identity creation logic to top-level screen
* Improve spec readability
* Replace cancel buttons with one back button
* Update success screen styling
* Add password validations
* Use enter key to progress through onboarding
* Extract common function
* Add keyboard navigation spec
* Update success page
* Add animations
* Debounce actions
* Convert px to rem
* Disable global hotkeys during onboarding
* Use validations properly in EnterName screen
* Fix prettier messing up whitespace in HTML
sveltejs/prettier-plugin-svelte#116
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 this pull request may close these issues.

Prettier reformat adds unwanted whitespace to HTML HTML whitespace is not maintained.
2 participants