# How to UNBREAK htmlText?

**URL:** <https://forum.kirupa.com/t/how-to-unbreak-htmltext/254749>\
**Category:** Uncategorized\
**Created:** [March 14, 2008, 8:11pm UTC](https://forum.kirupa.com/t/how-to-unbreak-htmltext/254749 "2008-03-14T20:11:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddmosphere](https://avatars.discourse-cdn.com/v4/letter/e/c0e974/32.png) [@eddmosphere](https://forum.kirupa.com/u/eddmosphere)\
**Post date:** [March 14, 2008, 8:11pm UTC](https://forum.kirupa.com/t/how-to-unbreak-htmltext/254749/1 "2008-03-14T20:11:52Z")

</div>

Hi there!

I am trying to create a menu with htmlText. That is, using a textField with several “html links” that call a function (\<a href='asfunction:…).

I have an array with the menu’s options and I use a FOR loop to create each “html link”. The problem is that I need the links in one line (at least until the maximum length of the textfield’s line is reached…). I was doing this:

[COLOR=RoyalBlue]content.htmlText += “\<a href:asfunction…\>…”[/COLOR] …

but the line breaks. I tried to do:

[COLOR=RoyalBlue]content.htmlText = [/COLOR][COLOR=RoyalBlue]content.htmlText + [/COLOR][COLOR=RoyalBlue]"\<a href:asfunction…\>…" …

[COLOR=Black]but it does not work, either. And, if I do:  
[/COLOR][/COLOR][COLOR=RoyalBlue]  
content.htmlText = [/COLOR][COLOR=RoyalBlue]content. **text** + [/COLOR][COLOR=RoyalBlue]"\<a href:asfunction…\>…" …

[COLOR=Black] **Only the last text is htmlText** (and, therefore, a link).

[/COLOR][/COLOR][COLOR=RoyalBlue][COLOR=Black]So, is it possible to “unbreak a line”?

Thanks :nerd:  
[/COLOR][/COLOR]
