forked from mystiq/hydrogen-web
Inline code blocks don't contain other elements
This commit is contained in:
parent
fd12baae3b
commit
4ee15005f5
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ class EmphPart {
|
||||||
}
|
}
|
||||||
|
|
||||||
class CodePart {
|
class CodePart {
|
||||||
constructor(wraps) {
|
constructor(text) {
|
||||||
this.wraps = wraps;
|
this.text = text;
|
||||||
}
|
}
|
||||||
|
|
||||||
get type() { return "code"; }
|
get type() { return "code"; }
|
||||||
|
|
Loading…
Reference in a new issue