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 {
|
||||
constructor(wraps) {
|
||||
this.wraps = wraps;
|
||||
constructor(text) {
|
||||
this.text = text;
|
||||
}
|
||||
|
||||
get type() { return "code"; }
|
||||
|
|
Loading…
Reference in a new issue