oUF

99.9k Downloads

1.4 tag bug

Adirelle opened this issue ยท 2 comments

commented

According to the new code, tag syntax is [prefix>tagname<suffix], where it was [(prefix)tagname(suffix)] with 1.3. So [( <)status(>)] should now be written [ <>status<>]. This fails, oUF keeps telling me the tag is invalid. I suspect the getTagName function not to be robust enough to handle it.

I'd think a pattern like ^%[(.-)>(.-)<(.-)%]$ would help parsing these tags but this is not what is used.

commented

I fixed it this way in my clone: Adirelle/oUF@1385783

commented

Less extensive fix committed with ee89d03.