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

Formatting splits td tags #50

Closed
MiBuena opened this issue Jun 1, 2020 · 4 comments
Closed

Formatting splits td tags #50

MiBuena opened this issue Jun 1, 2020 · 4 comments
Labels
✖️ Boycott This will not be implemented or the issue is lacking logic

Comments

@MiBuena
Copy link

MiBuena commented Jun 1, 2020

When I try to format a table, it splits some of the td tags to 2 lines like this.

        <td>{{Product.TotalSum}}
            €</td>

Is there a way to prevent td tags from breaking?

@panoply
Copy link
Owner

panoply commented Jun 1, 2020

Use {{ product.totalsum | prepend: “€ ”}} this can also be fixed with formatting option applied to HTML but I’m unsure which option controls that aspect.

@MiBuena
Copy link
Author

MiBuena commented Jun 1, 2020

Thank you for your answer!

However, since we are talking about a very long document - it will require a lot of effort to change it everywhere.

If anyone knows which option controls this - it will help me very much!

@panoply
Copy link
Owner

panoply commented Jun 1, 2020

Select the tag, ‘cmd+shift+d‘ in vscode will allow you to select all tags that match that selection, might be of some help.

@panoply panoply added PrettyDiff Bug ✖️ Boycott This will not be implemented or the issue is lacking logic labels Aug 9, 2020
@panoply
Copy link
Owner

panoply commented Sep 28, 2022

This can be configured using Prettify rules. Take a look at v3.0.0 Release Notes and the new Readme

@panoply panoply closed this as completed Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✖️ Boycott This will not be implemented or the issue is lacking logic
Projects
None yet
Development

No branches or pull requests

2 participants