Posted by Les Lim on March 9, 2009 at 1:33am
| Project: | Activity Stream |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | akalsey |
| Status: | needs work |
Issue Summary
Activity Stream doesn't specify a filter type when it creates a new node. When you view an Activity Stream node, $node->body gets passed through check_markup() and is subsequently stripped clean. The patch just adds $node->format = FILTER_FORMAT_DEFAULT; at node creation. It won't fix already existing nodes.
| Attachment | Size |
|---|---|
| activitystream.patch | 493 bytes |
Comments
#1
Wouldn't you also need to uncomment check_markup?
#2
Node_save already adds in FILTER_FORMAT_DEFAULT if $node->format is not set. This patch isn't needed.
What is needed, however, is a way for the site admin to select an input filter that's used on all Activity Stream nodes that are automatically created by cron.
#3
Included a patch that defines a settings form to select the input filter for the activity stream objects.
It's an initial patch that allows a start for this. I don't know enough about activity stream to know if it's the right heading or not but I needed it for a project so here we go :-)