Part of the EllisLab Network

Bug Report

Typography helper fails to add correct BR tags

Date: 06/29/2008 Severity: Minor
Status: New Reporter: Hornet
Version: 1.6.3
Keywords: Helpers, Typography Helper
Forum Thread: Discussed in IRC

Description

Allo,

When presented with a three-line paragraph, the helper seems to fall over, and not add the second
.

Code Sample

$this->load->helper('typography');
$text = <<<stuff
1
2
3
stuff;print auto_typography($text);

Expected Result

1
2
3

Actual Result

1
2 3

Comment on Bug Report

Page 1 of 1 pages
Posted by: Hornet on 29 June 2008 6:49am
no avatar

Erm, the description should say ‘the second <br />’, didn’t realise that it wasn’t encoded.

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?