Comment #4 on issue 1238 by [email protected]: differentiate between
<br /> and <p> in the render_show helper
http://code.google.com/p/qubit-toolkit/issues/detail?id=1238
It looks like changing the render_show helper won't be quite enough. To
test, I added the following to the render_show function in QubitHelper.php
$value = preg_replace("/\n\n/","<p>",$value);
$value = preg_replace("/\n/","<br/>",$value);
In an archival description, this seems to work in all fields except the
biographical history (linked from the authority record). On the other hand,
when viewing the authority record, a double line break is rendered as
<br/><br/> - due to the render_value function.
So, it looks like the code that pulls in the linked authority record is not
calling either render_show or render_value.
--
You received this message because you are subscribed to the Google Groups "Qubit
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-issues?hl=en.