Skip to content

Commit 329b7cb

Browse files
authored
Merge pull request #2020 from strictdoc-project/admonition_splitting
export/html: add .admonition-title as data-no-hanging-selectors for PDF
2 parents 3b7bf0b + 5447766 commit 329b7cb

File tree

1 file changed

+1
-1
lines changed
  • strictdoc/export/html/templates/screens/document/pdf

1 file changed

+1
-1
lines changed

strictdoc/export/html/templates/screens/document/pdf/index.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
data-page-break-after-selectors='.pdf-toc .free_text'
3333
data-page-break-before-selectors='H2'
3434
data-no-break-selectors='sdoc-section-title sdoc-meta sdoc-requirement-title .pdf-toc-row'
35-
data-no-hanging-selectors='sdoc-section-title sdoc-meta sdoc-requirement-title sdoc-requirement-field-label strong:only-child'
35+
data-no-hanging-selectors='sdoc-section-title sdoc-meta .admonition-title sdoc-requirement-title sdoc-requirement-field-label strong:only-child'
3636
src="{{ view_object.render_static_url('html2pdf/bundle.js') }}"></script>
3737
{%- endif -%}
3838

0 commit comments

Comments
 (0)