ueberdosis / pandoc

A PHP wrapper for Pandoc to convert any text format in any other text format
MIT License
77 stars 10 forks source link

Add function `noStandalone` to disable `--standalone` #64

Closed mejo- closed 1 year ago

mejo- commented 1 year ago

This implementation keeps backwards-compability by adding --standalone in run() per default but not adding it per default in execute().

It still can be set explicitely with standalone(), resulting in execute() passing --standalone.

Additionally it can be disabled explicitely with noStandalone(), resulting in run() not passing --standalone.

Fixes: #31

Signed-off-by: Jonas jonas@freesources.org

mejo- commented 1 year ago

Any chance to get this merged @patrickbaber @hanspagel?

mejo- commented 1 year ago

Thanks a lot for merging and building a new release straight away :heart:

patrickbaber commented 1 year ago

You are welcome!