Hi @achiever23,
Please make sure you have the latest 1.3.88 version of the plugin installed, the previous version of the plugin had this issue and now it’s fixed.
Regards.
I do have version 1.3.88. Before this update the biography showed <p> tags on the frontend (wrote a topic about it here).
The new issue is that unicode characters show as HTML code for the character.
Hi @achiever23,
Have you tried turning On “Force Strings to UTF-8 Encoding” in Ultimate member -> Settings -> Advanced?
Do you have “Does this textarea accept HTML?” turned on in the biography field settings?
Regards.
Yes, I have tried turning these options on/off but they have no effect. The issue is still here.
YEs, this issue is still here, and very frustrating. My end users don’t need to know HTML, nor can I require it of them.
They need to simply enter text and have it show up correctly.
Was having exactly the same issue. Had tried forcing UTF-8, didn’t work as above. BUT just now tried also changing field setting to accept HTML – and that fixed it. So you have to have UTF-8 AND HTML both on. Hope that helps.
-
This reply was modified 8 years, 8 months ago by
tnightingale. Reason: found solution
This appears to still be a problem in v1.3.88. Specific issue:
Entering “http://acorn.org” or “www.acorn.org” will be converted to an invalid <a> tag. It looks to be double converting the string resulting in a malformed <a> tag.
I’m not sure why “www” is auto-converted to HTML in addition to ‘http(s)://’. I’d prefer only http(s):// prefix to trigger such a conversion.
The option to disable HTML in Description field has no effect on the resulting output.
Check um-filters-field.php. Functions um_profile_field_filter_hook__textarea and um_profile_field_filter_hook__description.
@tnightingale I have tried your solution but it’s still the same result for me. This remains a bug to me. I posted this yesterday also here : https://ww.wp.xz.cn/support/topic/bug-html-chars-in-members-page/ .
Can the support team please have a look into it?
Kind regards,
Joris.
For support: what do you mean by:
Do you have “Does this textarea accept HTML?” turned on in the biography field settings?
Where do you mean to set this? I have set “Enable html support for user description” to ON in Appearance => Profile.
J.
Any news on this issue? This is maybe small but a real showstopper…
J.
I’ve located the issue, you have to go to the plugin file core/um-filters-field.php and change the functions:
um_profile_field_filter_hook__textarea
um_profile_field_filter_hook__description
The line in both functions:
if ( isset( $data ) && isset( $data['html'] ) && $data['html'] == 1 )
should be changed to:
if ( isset( $data ) && isset( $data['html'] ) )
It seems the issue is the $data['html'] == 1 code. When I printed the value it was actually 0, not 1, although the user settings “Enable html support for user description” is set to ‘ON’ in Settings -> Appearance -> Profile.
By the way, the WordPress is installed on Windows Server, running on IIS.
Best,
Dimitar