Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes conversion failure when using erb template #610

Merged

Conversation

abelsromero
Copy link
Member

@abelsromero abelsromero commented Jan 22, 2023

Internally eruby option was set as null which caused Asciidoctor to fail with 'Unknown ERB implementation'.
The fix sets the option only when a non empty value is present, delegating to AsciidoctorJ default which is 'erb' (consistent with current docs).

Thank you for opening a pull request and contributing to asciidoctor-maven-plugin!

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Documentation
  • Refactor
  • Build improvement
  • Other (please describe)

For context, this was reported in the examples repo asciidoctor/asciidoctor-maven-examples#15 (comment)

@abelsromero abelsromero added this to the 3.0.0 milestone Jan 22, 2023
@abelsromero abelsromero force-pushed the fix-converting-with-erb-templates branch from 289d8fb to bfea074 Compare January 22, 2023 10:49
Internally erubi option was set as null which caused Asciidoctor to fail
with 'Unknown ERB implementation'.
The fix sets the option only when a non empty value is present, delegating
to AsciidoctorJ default which is 'erb' (consistent with current docs).
@abelsromero abelsromero merged commit 319848d into asciidoctor:main Jan 23, 2023
@abelsromero abelsromero deleted the fix-converting-with-erb-templates branch December 28, 2023 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant