Fixed issue #8644: Incomplete display of adv. attributes containing single quotes

Dev: single quote ended string in "input"
Dev: no problem with "textarea"