Skip to content

Commit ac1c391

Browse files
committed
Code formatting
1 parent 7f25ce7 commit ac1c391

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/formatting.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ function format_published_in(
296296
report_type = strip(get(entry.fields, "type", "Technical Report"))
297297
number = strip(entry.in.number)
298298
report_spec = tex_to_markdown("$report_type~$number")
299-
_push!(1, report_spec; _if=!isempty(number))
299+
_push!(1, report_spec; _if=(!isempty(number)))
300300
_push!(2, tex_to_markdown(entry.in.institution))
301301
_push!(2, tex_to_markdown(entry.in.address))
302302
_push!(2, format_year(entry); _if=include_date)

src/md_ast.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function ast_linktext(node)
8787
@assert node.element isa MarkdownAST.Link "node must be a Link, not $(typeof(node.element))"
8888
no_nested_markdown =
8989
length(node.children) === 1 &&
90-
(first_node = first(node.children); first_node.element isa MarkdownAST.Text)
90+
(first_node=first(node.children); first_node.element isa MarkdownAST.Text)
9191
if no_nested_markdown
9292
text = first_node.element.text
9393
else

0 commit comments

Comments
 (0)