OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Bump md_to_pdf from cc286655dfa2ea2b30bf2a149063f42f7081aa3d to bbda8ad0054d465eec01c23fcab5c6d62c7baa44 Bumps [md_to_pdf](https://github.com/opf/md-to-pdf/) from cc286655dfa2ea2b30bf2a149063f42f7081aa3d to bbda8ad0054d465eec01c23fcab5c6d62c7baa44.
as-op0749dd26e3aa
diff --git a/Gemfile b/Gemfileindex a8e043f64b9..48dfdb5b2ef 100644--- a/Gemfile+++ b/Gemfile@@ -152,7 +152,7 @@ gem 'structured_warnings', '~> 0.4.0'# don't require by default, instead load on-demand when actually configuredgem 'airbrake', '~> 13.0.0', require: false-gem 'md_to_pdf', git: 'https://github.com/opf/md-to-pdf', ref: 'cc286655dfa2ea2b30bf2a149063f42f7081aa3d'+gem 'md_to_pdf', git: 'https://github.com/opf/md-to-pdf', ref: 'bbda8ad0054d465eec01c23fcab5c6d62c7baa44'gem 'prawn', '~> 2.4'# prawn implicitly depends on matrix gem no longer in ruby core with 3.1gem 'matrix', '~> 0.4.2'diff --git a/Gemfile.lock b/Gemfile.lockindex 672cdf160bc..e45cd051b7f 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -18,15 +18,15 @@ GITGITremote: https://github.com/opf/md-to-pdf- revision: cc286655dfa2ea2b30bf2a149063f42f7081aa3d- ref: cc286655dfa2ea2b30bf2a149063f42f7081aa3d+ revision: bbda8ad0054d465eec01c23fcab5c6d62c7baa44+ ref: bbda8ad0054d465eec01c23fcab5c6d62c7baa44specs:- md_to_pdf (0.0.20)- commonmarker (~> 0.23)+ md_to_pdf (0.0.22)front_matter_parser (~> 1.0)- json-schema (~> 4.0)+ json-schema (~> 4.1)+ markly (~> 0.7)matrix (~> 0.4)- nokogiri (~> 1.15)+ nokogiri (~> 1.1)prawn (~> 2.4)prawn-table (~> 0.2)text-hyphen (~> 1.5)@@ -672,6 +672,7 @@ GEMnet-popnet-smtpmarcel (1.0.2)+ markly (0.10.0)matrix (0.4.2)messagebird-rest (1.4.2)meta-tags (2.20.0)diff --git a/app/models/work_package/pdf_export/markdown.rb b/app/models/work_package/pdf_export/markdown.rbindex 292123a474d..19f573f2508 100644--- a/app/models/work_package/pdf_export/markdown.rb+++ b/app/models/work_package/pdf_export/markdown.rb@@ -31,6 +31,7 @@ require 'md_to_pdf/core'module WorkPackage::PDFExport::Markdownclass MD2PDFinclude MarkdownToPDF::Core+ include MarkdownToPDF::Parserdef initialize(styling_yml)@styles = MarkdownToPDF::Styles.new(styling_yml)@@ -41,9 +42,7 @@ module WorkPackage::PDFExport::Markdowndef draw_markdown(markdown, pdf, image_loader)@pdf = pdf@image_loader = image_loader- cm_extentions = %i[autolink strikethrough table tagfilter tasklist]- cm_parse_option = %i[FOOTNOTES SMART LIBERAL_HTML_TAG STRIKETHROUGH_DOUBLE_TILDE UNSAFE VALIDATE_UTF8]- root = CommonMarker.render_doc(markdown, cm_parse_option, cm_extentions)+ root = parse_markdown(markdown)begindraw_node(root, pdf_root_options(@styles.page), true)rescue Prawn::Errors::CannotFit => e