mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
- operator do not show up in the attribs of a pad, but authors could still leak to the pool
This commit is contained in:
parent
01cd82427a
commit
0693c0ae97
1 changed files with 1 additions and 2 deletions
|
@ -659,8 +659,7 @@ function handleUserChanges(data, cb)
|
||||||
|
|
||||||
//+ can add text with attribs
|
//+ can add text with attribs
|
||||||
//= can change or add attribs
|
//= can change or add attribs
|
||||||
//- can have attribs, but they are discarded and don't show up in the apool
|
//- can have attribs, but they are discarded and don't show up in the attribs - but do show up in the pool
|
||||||
if(op.opcode == '-') continue;
|
|
||||||
|
|
||||||
op.attribs.split('*').forEach(function(attr) {
|
op.attribs.split('*').forEach(function(attr) {
|
||||||
if(!attr) return
|
if(!attr) return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue