Fix paragraph separators for context help labels

This commit is contained in:
Svetlana.Zemlyanskaya
2017-09-25 23:11:44 +02:00
parent 21e7d08803
commit e3826e6872
2 changed files with 9 additions and 9 deletions
@@ -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, <code>.+c2[title=Hello]</code> abbreviation updates\n" +
"<code>&lt;div class=\"c1\"&gt;</code> to \n" +
private static final String DOCUMENTATION = "Update HTML tag with Emmet abbreviation:<br/>" +
".class[attribute] to overwrite value;<br/>" +
".+class[attribute] to append value;<br/>" +
".-class[attribute] to remove value.<br/>" +
"<p/>" +
"For example, <code>.+c2[title=Hello]</code> abbreviation updates<br/>" +
"<code>&lt;div class=\"c1\"&gt;</code> to<br/>" +
"<code>&lt;div class=\"c1 c2\" title=\"Hello\"&gt;</code>.";
private static final EmmetContextHelp CONTEXT_HELP = new EmmetContextHelp(DOCUMENTATION);
@@ -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" +
"<p/>" +
"By default, when you wrap something, Emmet puts original " +
"content inside the latest element.\n\n" +
"content inside the latest element.<p/>" +
"You can control the output position with <code>$#</code> placeholder.";
private static final EmmetContextHelp CONTEXT_HELP =
new EmmetContextHelp(DOCUMENTATION, "More at docs.emmet.io", "https://docs.emmet.io/actions/wrap-with-abbreviation/");