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;
|
||||
}
|
||||
|
||||
case 'b':
|
||||
case 'strong':
|
||||
case 'h2':
|
||||
case 'h3':
|
||||
{
|
||||
text += '**';
|
||||
appendChildren(node.childNodes);
|
||||
text += '**\n';
|
||||
break;
|
||||
}
|
||||
|
||||
case 'b':
|
||||
case 'strong':
|
||||
{
|
||||
text += '**';
|
||||
appendChildren(node.childNodes);
|
||||
|
|
Loading…
Reference in a new issue