Skip to content

Commit

Permalink
Merge pull request #18 from IntersectMBO/BugFix-#2242
Browse files Browse the repository at this point in the history
Bugfix #2242 -
  • Loading branch information
nebojsajsimic authored Nov 14, 2024
2 parents e24f3dd + 2360852 commit cc23127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pdf-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@intersect.mbo/pdf-ui",
"version": "0.4.0",
"version": "0.4.1",
"description": "Proposal discussion ui",
"main": "./src/index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion pdf-ui/src/components/MarkdownTextComponent/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const removeMarkdown = (markdown) => {
.replace(/`{1,2}([^`]+)`{1,2}/g, '$1')
.replace(/^\s{0,3}>\s?/g, '')
.replace(/^\s{1,3}([-*+]|\d+\.)\s+/g, '')
.replace(/^\#{1,6}\s+/g, '')
.replace(/^(\n)?\s{0,}#{1,6}\s*( (.+))? +#+$|^(\n)?\s{0,}#{1,6}\s*( (.+))?$/gm, '$1$3$4$6')
.replace(/\n{2,}/g, '\n')
.replace(/\\([\\`*{}\[\]()#+\-.!_>])/g, '$1');
};
Expand Down

0 comments on commit cc23127

Please sign in to comment.