Skip to content

[MATLAB] arrow tabular variable name with hyperlink is not displayed correctly #38540

Closed
@leihou6116

Description

@leihou6116

Describe the bug, including details regarding any error messages, version, and platform.

When the arrow tabular variable name contains hyperlink, it is displayed as <strong>hLink1</strong> instead of hLink1.

Note: there is no existing test to cover this. Please add tests for this bug fix.

>> hLink1 = string('<a href="http://www.foo.com">foo</a>');
>> hLink2 = string('<a href="http://www.foo.com">another foo</a>');
>> t = table(["a";"bcd";missing;""],[hLink1;hLink2;hLink1;hLink2],[NaN;1;2;3],'VariableNames',["Description", hLink1, "Result"])

t =

  4×3 table

    Description         foo         Result
    ___________    _____________    ______

     "a"           "foo"             NaN  
     "bcd"         "another foo"       1  
     <missing>     "foo"               2  
     ""            "another foo"       3  

>> arrow.table(t)

ans = 

  Arrow Table with 4 rows and 3 columns:

    Schema:

        Description: String | <strong>foo</strong>: String | Result: Float64

    First Row:

        "a" | "foo" | null

Component(s)

MATLAB

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions