Re: HTML spans with links

2020-02-06 Thread J. Landman Gay via use-livecode
Thank you, I'm not surprised you knew the answer. So, one link is okay but two are not? We're using paragraph metadata where we can, but in most cases it isn't possible. We had to abandon the browser widget because we need field properties that are not supported there. It's a challenge, because

Re: HTML spans with links

2020-02-06 Thread hh via use-livecode
The htmltext of a field is based on HTML3 or before. In HTML 3/4 a span can not contain two links, in HTML5 yes. [So a browser widget does what you explicitly wish to have.] Or if you set the metadata of the -tag instead (= set the metadata of line x of fld 1 to "metadata1"). > JLG wrote: > If

HTML spans with links

2020-02-06 Thread J. Landman Gay via use-livecode
If I set the htmlText of a field to HTML that contains a span, and if that span also contains an anchor or href link, LC separates the span into multiple ones. For example, a field's htmlText set to this: This is some text that contains the metadata.href="#fn">linkOne And here is some more tex