$par_val = "foo ".$lang." bar";
{mytag par="$par_val"}
Yes, this should also work, thanks!
I searched the source code and found the relevant line (231) in lib/classes/contenttypes/Content.inc.php (version 1.2.3, Black Rock):
$ret[]= array(ucwords($blockName).':','<input type="text" name="'.$blockNameId['id'].'" value="'.$this->GetPropertyValue($blockNameId['id']).'" />');
Would you expect any side effects of converting the content with cms_htmlentities (as it is done with the other input boxes)?
cms_htmlentities($this->GetPropertyValue($blockNameId['id']))
In case not, would it be possible to include this change in the next release?
Thank you, best
Bash