Skip to content

Commit

Permalink
Fix truncating HTML description data.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 30, 2013
1 parent 1979d2d commit ae42b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kronolith/lib/Event.php
Expand Up @@ -1591,7 +1591,7 @@ public function toASAppointment(array $options = array())
$truncation = $bp[Horde_ActiveSync::BODYPREF_TYPE_PLAIN]['truncationsize'];
} elseif (isset($bp[Horde_ActiveSync::BODYPREF_TYPE_HTML])) {
$truncation = $bp[Horde_ActiveSync::BODYPREF_TYPE_HTML]['truncationsize'];
$this->description = Horde_Text_Filter::filter($note->data, 'Text2html', array('parselevel' => Horde_Text_Filter_Text2html::MICRO));
$this->description = Horde_Text_Filter::filter($this->description, 'Text2html', array('parselevel' => Horde_Text_Filter_Text2html::MICRO));
} else {
$truncation = false;
}
Expand Down

0 comments on commit ae42b3e

Please sign in to comment.