Adlib API home page > News

Line break support added

The optional type="richText" attribute for <field> nodes in a <brieffields> or <detailfields> section of a <databaseConfiguration> in adlibweb.xml is now also supported by wwwopac.ashx (from version 3.6.13043.2), as was previously already the case for wwwopac.exe. This attribute makes sure that any line breaks (\n) in field contents are replaced by HTML <br/> tags, so that the paragraph structure in field contents remains intact when presented on the website.
Note that the richText attribute does not pertain to RTF fields in Adlib adlwin.exe applications.