Skip to content

Handlebars not interpreting iframe content #2035

@sdonnet

Description

@sdonnet

Hi,

I have an HTML document, with handlebars, partials, ... working well. "Handlebars" do the job.

But, I need to include into my HTML document several <iframe>, to separate different CSS stylesheets, which can interfere among them. So, I write something like :
<iframe width="100%" src="data:text/plain;base64,{{> (lookup character 'chr_partial64') }}"></iframe>

"character" being a JSON object, chr_partial64 a partial with base64 encoded value.

When rendering, the <iframe> is containing the HTML decoded from base64 data, but it is not interpreted by handlebars (the iframe HTML still contains handlebars tags (each, if, ...) not interpreted.

Is there a way to tell handlebars to interpret ? (I tested the triple mustaches, but unsuccessfully..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions