kaushalmodi/ox-hugo

Unable to set level offset

kaushalmodi opened this issue · 1 comments

make-string: Wrong type argument: number-or-marker-p, "0"

@shimmy1996 I can reproduce the error. I'll review your PR. Thanks.

Test

** Level offset of 0
:PROPERTIES:
:EXPORT_FILE_NAME: level-offset-0
:EXPORT_HUGO_LEVEL_OFFSET: 0
:END:
*** Heading 1
**** Heading 1.1
*** Heading 2

Fixed in 33a344b.