Search Issue Tracker

Won't Fix

Votes

0

Found in

2022.2.7f1

2023.1.0b4

2023.2.0a2

2023.3.0a3

Issue ID

UUM-15801

Regression

No

bug? wrong linkIdFirstCharacterIndex is returned when having a default "A" style defined in style sheet

-

*Summary:*
1. Define an "A" style in style sheet, e.g.

 linkIdFirstCharacterIndex gets bumped, for example text block in 

MarkupTag_A() test:

<a href="https://www.longDummyURL.com">test A tag</a>, the linkIdFirstCharacterIndex should be 9, based on {color:#ff0000}<a href=", but the value is 15.{color}

!image-2022-07-26-16-15-13-691.png!

 

 

*Extra Notes:*

Correct value will be returned when the A style gets removed.

To reproduce, pull [https://github.cds.internal.unity3d.com/unity/unity/pull/12251] and run

 MarkupTag_A() test.

 

Tested on 2023.1 and reproducible on 2022.2.

  1. Resolution Note:

    Can't reproduce with other A tags, and the linked PR doesn't have the mentioned test.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.