Transferring blockquotes to event description reverts template style?

8 views
Skip to first unread message

ss...@nyu.edu

unread,
Jul 3, 2017, 1:09:45 PM7/3/17
to Eventbrite API
I'm testing to see what kinds of HTML formatting can be sent to Eventbrite while maintaining the modern template. For some reason, the <blockquote> tag reverts the event back to old template style. Is there a reason for this? I'm just sending HTML formatted text to the event.description.html field. Any help would be greatly appreciated. Thanks!

Eventbrite API

unread,
Jul 6, 2017, 12:05:47 PM7/6/17
to Eventbrite API
Hi, 

Here is a list of HTML elements that are whitelisted to be used with the new listing
'tags': [
        'b',
        'div',
        'p',
        'a',
        'em',
        'strong',
        'i',
        'ul',
        'ol',
        'li',
        'h2',
        'h3',
        'h4',
        'h5',
        'h6',
        'br',
        'hr',
        'span',
        'img',
    ],
    'attrs': {
        '*': ['class', 'href', 'title', 'role', 'aria', 'itemprop', 'itemscope', 'itemtype'],
        'img': ['alt', 'src', 'itemprop', 'itemscope', 'itemtype'],
        'a': ['class', 'href', 'title', 'role', 'aria', 'itemprop', 'itemscope', 'itemtype', 'target'],
    }
}
The use of any elements other than these will cause the listing to revert to the old template. This list is also subject to change.


Reply all
Reply to author
Forward
0 new messages