Skip to content

Commit

Permalink
Merge pull request #19 from IntersectMBO/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
vpaunovic authored Nov 14, 2024
2 parents 5792b18 + cc23127 commit 3c6c34a
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 3c6c34a

Please sign in to comment.