diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-10-02 14:50:07 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-10-02 15:43:44 +0200 |
| commit | 14c7af50fec8f89e0030084680ac7dddf639b699 (patch) | |
| tree | 9fc48d45b7ede257df77f90e91b33f6caa06fa8f /doc/_extensions/autojsdoc/parser/utils.py | |
| parent | 299d2ea153f5a2051468e465cc9ad733e207290b (diff) | |
[FIX] website: prevent dropping snippets in <p/>
Main snippets can be dropped in `.oe_structure` elements and
`[data-oe-type=html]` elements. The second case happens when adding
a field in a page thanks to `t-field`. If used on a <p/> element,
the content cannot contain snippets (as browsers will not allow <div/>
and <section/> in a <p/>).
Note: we should not use <p/> with HTML fields at all but this might
happen with old databases... or by mistake. The problem is that the
problem is not visible during development without this fix.
Diffstat (limited to 'doc/_extensions/autojsdoc/parser/utils.py')
0 files changed, 0 insertions, 0 deletions
