Convert text fields to web-safe codes

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 54
Joined: Wed Jun 13, 2007 8:55 am

Convert text fields to web-safe codes

Postby ItsDan » Wed Jul 23, 2008 1:23 pm

Perhaps the fields such as 'abstract' could have a 'use html' option to mimic the current behavior, and without it checked, the system should parse out special characters. A scientific journal may have many less/greaterthan symbols which would obviously cause issues if passed directly into the page output.

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Convert text fields to web-safe codes

Postby jmacgreg » Thu Jul 31, 2008 1:44 pm

Hi ItsDan,

Could you provide a text example of what you are talking about? And perhaps provide the version of OJS you are using. While special characters (especially < and > of course) provided trouble in previous versions of OJS, they should display fine in 2.2.x. That is, those entities will be saved and displayed in a web-safe manner.

Please let me know if I'm missing something here as well.


Return to “OJS Development”

Who is online

Users browsing this forum: No registered users and 2 guests