Cell - Unit Frames

Cell - Unit Frames

343k Downloads

[Bug] Conditional text prefix for absorb amount mishandles zero absorb

michaelbull opened this issue ยท 0 comments

commented

Addon Version

1.4.6

World of Warcraft Version

Retail

Describe the bug

When using a custom text with the abs:short tag, the conditional prefix always shows the preceding character irrespective of whether the abs:short tag resolves to a non-empty string.

Note in the example below that the full text is: example [+ >abs:short]. According to the README, this should hide the '+' symbol if there is no absorb shield active.

image

It does however show correctly when an absorb shield is present

image

Steps to reproduce

Create a custom text with [+ >abs:short] and observe that the '+' character is not conditionally removed.

BugSack

No response