mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-14 18:42:24 +03:00
feat(plugin-helper): lowercase resulting tag names (#42)
This commit is contained in:
committed by
GitHub
parent
001de51f34
commit
597c2a9008
@@ -3,7 +3,7 @@ import { getNodeLength, appendToNode } from './index';
|
||||
|
||||
class TagNode {
|
||||
constructor(tag, attrs, content) {
|
||||
this.tag = tag;
|
||||
this.tag = tag.toLowerCase();
|
||||
this.attrs = attrs;
|
||||
this.content = [].concat(content);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user