You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "leihou6116 (via GitHub)" <gi...@apache.org> on 2023/11/01 15:00:19 UTC
[I] [MATLAB] arrow tabular variable name with hyperlink is not displayed correctly [arrow]
leihou6116 opened a new issue, #38540:
URL: https://github.com/apache/arrow/issues/38540
### 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](http://www.foo.com)\</strong> instead of [**hLink1**](http://www.foo.com).
Note: there is no existing test to cover this. Please add tests for this bug fix.
```MATLAB
>> 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] arrow tabular variable name with hyperlink is not displayed correctly [arrow]
Posted by "kevingurney (via GitHub)" <gi...@apache.org>.
kevingurney commented on issue #38540:
URL: https://github.com/apache/arrow/issues/38540#issuecomment-1789542540
The MATLAB Command Window display supports the following markup syntax to display bold, hyperlinked text:
```matlab
<a style="font-weight: bold">Text</a>
```
However, given an arbitrary string, it seems like it may be difficult to reliably identify all of the valid open + close `<a>...</a>` tag pairs and modify them to use `style="font-weight: bold"`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] arrow tabular variable name with hyperlink is not displayed correctly [arrow]
Posted by "kevingurney (via GitHub)" <gi...@apache.org>.
kevingurney closed issue #38540: [MATLAB] arrow tabular variable name with hyperlink is not displayed correctly
URL: https://github.com/apache/arrow/issues/38540
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] arrow tabular variable name with hyperlink is not displayed correctly [arrow]
Posted by "kevingurney (via GitHub)" <gi...@apache.org>.
kevingurney commented on issue #38540:
URL: https://github.com/apache/arrow/issues/38540#issuecomment-2992568414
At least in MATLAB Online, using the latest available MATLAB UI, hyperlinks which are part of the display of a `arrow.tabular.Table` object, appear render as expected.
Here is a screenshot from running this code in [MATLAB Online](matlab.mathworks.com):

Note how the variable name [Foo](http://www.foo.com) is now a hyperlink.
Closing this issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org