Minor style changes

This commit is contained in:
Ludwig Schubert
2017-08-24 10:30:09 -07:00
parent 50a3a49fd5
commit 8d23e288ae
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export class Article extends T(HTMLElement) {
for (const addedNode of mutation.addedNodes) {
switch (addedNode.nodeName) {
case 'HR':
console.warn('Use of <hr> tags in distill articles is discouraged!');
console.warn('Use of <hr> tags in distill articles is discouraged as they interfere with layout! To separate sections, please just use h2 or h3 tags.');
break;
case '#text': { // usually text nodes are only linebreaks.
const text = addedNode.nodeValue;