[drupal-devel] html stripped from hook_view?

Ross M Karchner rosskarchner at gmail.com
Sun Jun 5 14:34:47 UTC 2005


My message hasn't shown up in the archives for yesterday, so I'll send
this again:

On 6/4/05, Ross M Karchner <rosskarchner at gmail.com> wrote:
> Hello,
> 
> In this example module:
> http://drupaldocs.org/api/head/file/contributions/docs/developer/examples/node_example.module/source
> 
> The output is themed as (PHP removed):
> 
> <div class="node_example_order_info">
> The order is for %quantity %color items.
> </div>
> 
> but when I view a node created with this module, all the HTML is stripped:
> 
> <div class="content"><p>The order is for 0  items.</p>
> 
> Can someone point me towards a page or discussion that explains why this is?
> 
> -Ross
>



More information about the drupal-devel mailing list