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

add include support. #19

Merged
merged 1 commit into from
Jul 17, 2018
Merged

add include support. #19

merged 1 commit into from
Jul 17, 2018

Conversation

kounoike
Copy link
Contributor

Asciidoc support "include" feature. But, current gitbucket-asciidoctor-plugin doesn't support it. This PR adds support it

But, this PR can't compile with current master. It uses SyntaxSugars which introduced by recent version of gitbucket-core. So, please merge #18 first.

@lefou lefou self-requested a review May 20, 2018 11:29
@lefou
Copy link
Member

lefou commented Jul 17, 2018

Can you describe a bit more how your patch works? Does it respect the safe mode setting under which Asciidoctor is run?

@kounoike
Copy link
Contributor Author

It reads the contents from the Git repository, not from the file. So, it can only read from same repository.
I think this behavior is not compatible with SECURE mode. But it is more secure than SERVER mode.

@lefou lefou merged commit 0110f6d into asciidoctor:master Jul 17, 2018
lefou added a commit that referenced this pull request Jul 17, 2018
@lefou lefou added this to the 1.1.0 milestone Jul 17, 2018
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.

2 participants