Commit f30288ce authored by Dan Allen's avatar Dan Allen

use AsciiDoc-style truthy value for attribute

parent 107173d7
Pipeline #51772720 passed with stages
in 4 minutes and 32 seconds
...@@ -37,7 +37,7 @@ const IncludeProcessor = (() => { ...@@ -37,7 +37,7 @@ const IncludeProcessor = (() => {
includeContents = resolvedFile.contents includeContents = resolvedFile.contents
startLineNum = 1 startLineNum = 1
} }
Opal.hash_put(attrs, 'partial-option', true) Opal.hash_put(attrs, 'partial-option', '')
reader.pushInclude(includeContents, resolvedFile.file, resolvedFile.path, startLineNum, attrs) reader.pushInclude(includeContents, resolvedFile.file, resolvedFile.path, startLineNum, attrs)
;(reader.file = new String(reader.file)).context = resolvedFile.context // eslint-disable-line no-new-wrappers ;(reader.file = new String(reader.file)).context = resolvedFile.context // eslint-disable-line no-new-wrappers
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment