zikula/core — Issue #204: Pagelock creates html validation warnings
Author: hvorragend
Created: 2011-12-18 12:36:42+00:00
State: open
Labels: Bug

\system\PageLock\lib\PageLock\Api\User.php

```
// disabled due to #2556 and #2745
// $returnUrl = DataUtil::formatForDisplayHTML($returnUrl);

$html .= "
PageLock.LockName = '$lockName';
PageLock.ReturnUrl = '$returnUrl';
PageLock.PingTime = " . (PageLockLifetime*2/3) . ";
PageLock.LockedHTML = '" . $lockedHtml . "';
";
```

I don't know why we comment out this line. But if we don't use this line, we have HTML validation warnings.