Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/15/2011 01:52:14 AM (16 years ago)
Author:
johnjamesjacoby
Message:

Run strip_tags and trim on topic and reply excerpts. Fixes #1448.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-topic-template.php

    r2806 r2809  
    456456                }
    457457
    458                 return apply_filters( 'bbp_get_topic_excerpt', $excerpt, $topic_id, $length );
     458                return apply_filters( 'bbp_get_topic_excerpt', trim( strip_tags( $excerpt ) ), $topic_id, $length );
    459459        }
    460460
Note: See TracChangeset for help on using the changeset viewer.