Skip to content

HannaCode removes internal trailing quote in attribute string #9

@jlj

Description

@jlj

In a php HannaCode, a trailing quote in an attribute is removed in the corresponding php variable

Example: if called with[[video_element source="some_url" options="preload='none'"]], $options has value preload='none

But if I had a trailing space: [[video_element source="some_url" options="preload='none' "]], then $options has the expected value preload='none'

This looks like a php trim issue...

Version: HannaCode 0.1.9, ProcessWire 2.5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions