Skip to content

Custom attributes with quotes? #367

@jerry1970

Description

@jerry1970

Currently the extra attributes cannot take a quotes string. So {attr1=abc attr2="def ghi"} does not work.

The source regex is this:

protected $id_class_attr_catch_re = '\{((?>[ ]*[#.a-z][-_:a-zA-Z0-9=]+){1,})[ ]*\}';

Is there a reason why quoted attributes are not possible?

I am going to see if I can change this to make it work in a derived class, if this is not on the list yet.

Question: the {1,}, is there a reason why this is not +?

Thanks!

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