Skip to content

error comes with certain text #1200

Description

@unoukujou

if I save this in a leafwiki page:

if [[ -n "$computed_hash" && -n "$src_hash" ]]; then
 echo "sha256-${computed_hash}
fi

if [[ "$src_hash" == sha256-* ]]; then
  src_hash_sri="$src_hash"
fi

It brings strange errors like:

<span class="katex-error" title="ParseError: KaTeX parse error: Expected 'EOF', got '&amp;' at position 16: computed_hash&quot; &amp;̲&amp; -n &quot;" style="color: rgb(204, 0, 0);">computed_hash" &amp;&amp; -n "</span>

Broken links 2
This page links to missing targets

    "$src_hash" == sha256-*
    -n "$computed_hash" && -n "$src_hash"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions