diff --git a/xml/impl/src/com/intellij/codeInsight/template/emmet/EmmetUpdateTagAction.java b/xml/impl/src/com/intellij/codeInsight/template/emmet/EmmetUpdateTagAction.java index c7c2e28d27c1..4bece713d7ac 100644 --- a/xml/impl/src/com/intellij/codeInsight/template/emmet/EmmetUpdateTagAction.java +++ b/xml/impl/src/com/intellij/codeInsight/template/emmet/EmmetUpdateTagAction.java @@ -53,13 +53,13 @@ import java.util.Map; public class EmmetUpdateTagAction extends BaseCodeInsightAction implements DumbAware, PopupAction { private static final String EMMET_RECENT_UPDATE_ABBREVIATIONS_KEY = "emmet.recent.update.abbreviations"; private static final String EMMET_LAST_UPDATE_ABBREVIATIONS_KEY = "emmet.last.update.abbreviations"; - private static final String DOCUMENTATION = "Update HTML tag with Emmet abbreviation:\n" + - ".class[attribute] to overwrite value;\n" + - ".+class[attribute] to append value;\n" + - ".-class[attribute] to remove value.\n" + - "\n" + - "For example, .+c2[title=Hello] abbreviation updates\n" + - "<div class=\"c1\"> to \n" + + private static final String DOCUMENTATION = "Update HTML tag with Emmet abbreviation:
" + + ".class[attribute] to overwrite value;
" + + ".+class[attribute] to append value;
" + + ".-class[attribute] to remove value.
" + + "

" + + "For example, .+c2[title=Hello] abbreviation updates
" + + "<div class=\"c1\"> to
" + "<div class=\"c1 c2\" title=\"Hello\">."; private static final EmmetContextHelp CONTEXT_HELP = new EmmetContextHelp(DOCUMENTATION); diff --git a/xml/impl/src/com/intellij/codeInsight/template/emmet/ZenCodingTemplate.java b/xml/impl/src/com/intellij/codeInsight/template/emmet/ZenCodingTemplate.java index 8805dae2b3cb..25848cd9ac6c 100644 --- a/xml/impl/src/com/intellij/codeInsight/template/emmet/ZenCodingTemplate.java +++ b/xml/impl/src/com/intellij/codeInsight/template/emmet/ZenCodingTemplate.java @@ -66,9 +66,9 @@ public class ZenCodingTemplate extends CustomLiveTemplateBase { private static final String DOCUMENTATION = "Wraps text with HTML generated by Emmet abbreviation. " + "It takes an abbreviation, expands it and places currently " + "selected content in the last element of generated snippet." + - "\n\n" + + "

" + "By default, when you wrap something, Emmet puts original " + - "content inside the latest element.\n\n" + + "content inside the latest element.

" + "You can control the output position with $# placeholder."; private static final EmmetContextHelp CONTEXT_HELP = new EmmetContextHelp(DOCUMENTATION, "More at docs.emmet.io", "https://docs.emmet.io/actions/wrap-with-abbreviation/");