question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

My text formatted:

В силу причин
<dfn>а</dfn> и
<dfn>в</dfn> я вообще стараюсь не использовать программы, сохраняющие какие-либо пользовательские данные на системном диске.

I believe that <dfn> tag should not be moved to a new line, I think it should be so:

В силу причин <dfn>а</dfn> и <dfn>в</dfn> я вообще стараюсь не использовать программы, сохраняющие какие-либо пользовательские данные на системном диске.

Thanks.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bitwisemancommented, Sep 1, 2016

Have you tried your input on http://jsbeautifier.org/ ? Your input seems to produce the output you are asking for there. If that is true, then the issue is not with js-beautify, but with the Sublime-HTMLPrettify, either using an outdated version or possibly providing settings that are causing this odd behavior.

0reactions
Kristinitacommented, Sep 1, 2016

Yes, my code:

<body>Sasha<dfn>Sweet</dfn><dfn>Honey</dfn></body>

In Sublime Text:

{ "keys": ["ctrl+7", "ctrl+h"], "command": "htmlprettify" },

In jsbeautifier.org:

Read more comments on GitHub >

github_iconTop Results From Across the Web

<dfn>: The Definition element - HTML - MDN Web Docs
The <dfn> HTML element is used to indicate the term being defined within the context of a definition phrase or sentence. The <p>...
Read more >
HTML dfn tag
The <dfn> tag stands for the "definition element", and it specifies a term that is going to be defined within the content. The...
Read more >
HTML <dfn> Tag
The <dfn> tag in HTML represents definition element and is used to representing a defining instance in HTML.
Read more >
HTML: <dfn> tag
The HTML <dfn> tag is used to mark a term that is being defined in the document. The definition for the term must...
Read more >
HTML dfn Tag - Learn HTML
The <dfn> tag is used to define the term, that is specified in the context of a definition phrase or sentence. In the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found