Compare commits
1 Commits
66ccb66211
...
5432c23202
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5432c23202 |
@ -922,6 +922,9 @@ class Headline:
|
||||
if " " in arguments:
|
||||
language = arguments[: arguments.index(" ")]
|
||||
arguments = arguments[arguments.index(" ") + 1 :]
|
||||
else:
|
||||
language = arguments
|
||||
arguments = None
|
||||
sections.append(
|
||||
{
|
||||
"line_first": start + 1,
|
||||
@ -984,6 +987,7 @@ class Headline:
|
||||
content = section["content"]
|
||||
code_result = section.get("result", None)
|
||||
arguments = section.get("arguments", None)
|
||||
language = section.get("language", None)
|
||||
name = section.get("name", None)
|
||||
results.append(
|
||||
CodeSnippet(
|
||||
|
Loading…
Reference in New Issue
Block a user