Qute: remove whitespace around type declarations
See original GitHub issueIf I declare parameter types in my template:
{@java.lang.String name}
{@java.lang.String foo}
Here is my email
Then the output is \n\n\nHere is my email
because whitespace isn’t stripped between the type declarations and the first content. Note that this is mostly an issue for email and plaintext, but still.
Now, perhaps it’s important to allow whitespace before the first content, but even in this case, we should strip whitespace before/between type declarations and the last newline after it?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Remove whitespace from string excluding parts between pairs ...
You have to loop over the string and you want to use a flag. If the flag is true, then you delete the...
Read more >Remove Spaces from String in Python - FavTutor
All whitespaces are replaced with no space("") using the replace() method. For example: def remove(string): return string.replace(" ", "") ...
Read more >How to remove trailing spaces from makefile variable?
No, there's no way to change the way make parses variable definitions. If you can't change the point at which variables are defined, ......
Read more >Remove all spaces from string - Power Platform Community
Solved: Hi, does anyone know how to remove all spaces from a string, thus concatenating it? Example: "this is my string" when all...
Read more >Delete with delimiters, but not whitespace around (vim)
Use 2 d i " (or d 2 i " , which is the same). This is a special case of using count...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mkouba sorry. I was a little too fast. But it was fun to play around with Qute rendering 🙂
@adrianfiedler No problem at all. I’m looking forward to your future contributions! 😃.