Make prettier happy.
This commit is contained in:
parent
492b6dc306
commit
0f812aa768
|
@ -24,8 +24,8 @@ export default function renderTag(tag, params) {
|
|||
"<" +
|
||||
tagName +
|
||||
href +
|
||||
" data-tag-name=" +
|
||||
tag +
|
||||
" data-tag-name=" +
|
||||
tag +
|
||||
" class='" +
|
||||
classes.join(" ") +
|
||||
"'>" +
|
||||
|
|
|
@ -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 = "";
|
||||
}
|
||||
|
||||
|
|
|
@ -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", {
|
||||
|
|
Loading…
Reference in New Issue