Make prettier happy.

This commit is contained in:
Guo Xiang Tan 2018-08-30 15:56:30 +08:00
parent 492b6dc306
commit 0f812aa768
3 changed files with 8 additions and 4 deletions

View File

@ -24,8 +24,8 @@ export default function renderTag(tag, params) {
"<" +
tagName +
href +
" data-tag-name=" +
tag +
" data-tag-name=" +
tag +
" class='" +
classes.join(" ") +
"'>" +

View File

@ -111,7 +111,8 @@ export class Tag {
decorate(text) {
const parent = this.element.parent;
if (this.name === "p" && parent && parent.name === "li") { // fix for google docs
if (this.name === "p" && parent && parent.name === "li") {
// fix for google docs
this.gap = "";
}

View File

@ -5,7 +5,10 @@ QUnit.test("list the tags", async assert => {
await visit("/tags");
assert.ok($("body.tags-page").length, "has the body class");
assert.ok($('*[data-tag-name="eviltrout"]').length, "shows the eviltrout tag");
assert.ok(
$('*[data-tag-name="eviltrout"]').length,
"shows the eviltrout tag"
);
});
acceptance("Tags listed by group", {