mirror of
https://github.com/wassname/template.git
synced 2026-09-09 11:38:29 +08:00
Minor style changes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user