antonmedv/monkberry

Image insertion

wadeV12 opened this issue · 1 comments

When i am trying to put image in template i always got error:

Tag identifiers should be same ( != ) while parsing file.

So here is code:

<img src="{{ barcode_img_src }}" alt="">

And it's not working. But this code works:

<img src="{{ barcode_img_src }}" alt=""></img>

Correct, all tags should be closed (except br, link and a few more). You can use this:
<img src="{{ barcode_img_src }}" alt=""/>