Skip to content

Commit

Permalink
Enrich italic and bold elements
Browse files Browse the repository at this point in the history
  • Loading branch information
cynicaloptimist committed May 19, 2024
1 parent bf32ce2 commit 0ce0330
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/TextEnricher/TextEnricher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ export class TextEnricher {
li: ({ children }) => {
return <li>{this.applyReplacer(replacer, children)}</li>;
},
strong: ({ children }) => {
return <strong>{this.applyReplacer(replacer, children)}</strong>;
},
em: ({ children }) => {
return <em>{this.applyReplacer(replacer, children)}</em>;
}
};

return (
Expand Down

0 comments on commit 0ce0330

Please sign in to comment.