Skip to content

fix: only set rawcaption when a caption is present#119

Open
hwhsu1231 wants to merge 1 commit into
executablebooks:mainfrom
hwhsu1231-fork:fix-toc-yml-gettext-rawcaption
Open

fix: only set rawcaption when a caption is present#119
hwhsu1231 wants to merge 1 commit into
executablebooks:mainfrom
hwhsu1231-fork:fix-toc-yml-gettext-rawcaption

Conversation

@hwhsu1231

Copy link
Copy Markdown
  • Only set rawcaption when a caption is present to prevent gettext extraction errors.
  • Add new test cases for nested TOC structures without captions.
  • Update existing test files to reflect changes in TOC behavior.

Close: #118

- Only set rawcaption when a caption is present to prevent
  gettext extraction errors.
- Add new test cases for nested TOC structures without captions.
- Update existing test files to reflect changes in TOC behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gettext builder generates empty msgid entries from toctrees without caption

1 participant