modxbot / migrate

A testground for migrating issues and other such fun
0 stars 0 forks source link

TV HTML Tag widget inserting id attribute #10262

Open sottwell opened 10 years ago

sottwell commented 10 years ago

sottwell created Redmine issue ID 10262

The HTML Tag widget inserts an ID attribute whether one is specified or not. This can lead to multiple tags with the same ID.

core/model/modx/processors/elements/tv/renders/web/output/htmltag.class.php

Line 24 should be:

'id' => empty($params['tagid']) ? null : $domId, /* 'tv' already added to id */