upd: seperate H2/H3 into own case
This commit is contained in:
parent
0c3690a8ba
commit
4a9260a432
1 changed files with 9 additions and 2 deletions
|
@ -135,10 +135,17 @@ export class MfmService {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'b':
|
|
||||||
case 'strong':
|
|
||||||
case 'h2':
|
case 'h2':
|
||||||
case 'h3':
|
case 'h3':
|
||||||
|
{
|
||||||
|
text += '**';
|
||||||
|
appendChildren(node.childNodes);
|
||||||
|
text += '**\n';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
case 'b':
|
||||||
|
case 'strong':
|
||||||
{
|
{
|
||||||
text += '**';
|
text += '**';
|
||||||
appendChildren(node.childNodes);
|
appendChildren(node.childNodes);
|
||||||
|
|
Loading…
Reference in a new issue