-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Transform trailing whitespace to recommended way #418
Conversation
1b3453c
to
1cb8056
Compare
@serferdinand2 and @jwerre Please check the test files and tell me if I can add any more complex example |
@Shinigami92 I took a look at your Instead of p Aliquam pulvinar enim eu enim finibus euismod.
|
| a(href="https://example.com") Link
|
| Suspendisse suscipit nunc non mauris sodales elementum.
div
p Aliquam pulvinar enim eu enim finibus euismod.
p Aliquam pulvinar enim eu enim finibus euismod.
|
| a(href="https://example.com") Link
|
| Suspendisse suscipit nunc non mauris sodales elementum. It should be: p Aliquam pulvinar enim eu enim finibus euismod.
|
a(href="https://example.com") Link
|
| Suspendisse suscipit nunc non mauris sodales elementum.
div
p Aliquam pulvinar enim eu enim finibus euismod.
p Aliquam pulvinar enim eu enim finibus euismod.
|
a(href="https://example.com") Link
|
| Suspendisse suscipit nunc non mauris sodales elementum. I think that was mistake I made and you just copy and pasted it. |
@jwerre good catch 👍 |
@Shinigami92, I Think there may be a few more outliers.
As you currently have it I think the result will end up like this:
OUTPUT: You put the em pha sis on the wrong syl lable . EXPECTED: You put the emphasis on the wrong syllable. |
Will add that tomorrow as a test (if you not already did as you have access to your own PR 😉) |
Ahhh... ok. I'll take your word for it. |
Created test to deal with issue #417
The following pug:
should reformat to: