<?php

  /**
   * rich_text helper implementation
   * 
   * @package angie.frameworks.environment
   * @subpackage helpers
   */

  /**
   * Convert raw text to rich text (HTML)
   * 
   * @param string $content
   * @param interger $max_inline_object_width
   * @param interger $max_inline_object_height
   * @return string
   */
  function smarty_modifier_rich_text($content, $max_inline_object_width = 800, $max_inline_object_height = 800) {
    return HTML::toRichText($content, $max_inline_object_width, $max_inline_object_height);
  } // smarty_modifier_rich_text