?
avatar newjie
newjie
1 Apr 2016

Steps to reproduce the issue

Custom HTML Module -> Advanced -> Module Class Suffix, fill in class name like "myclass"

Expected result

class name "myclass" should only appear at one place, either <div class="custom myclass"></div> or <div class="moduletable myclass">

Actual result

<div class="moduletable  myclass">
  <div class="custom myclass"></div>
</div>

System information (as much as possible)

Additional comments

This behavior has been there for a long time since 2.5

avatar newjie newjie - open - 1 Apr 2016
avatar bembelimen
bembelimen - comment - 1 Apr 2016

You have this behavior in nearly every module not only in mod_custom.

avatar renekorss
renekorss - comment - 1 Apr 2016

@bembelimen is right. This is well known (feature?). In my opinion, it dosen't change anything, rather helps styling sometimes. Consider the case if I have selector .moduletable.myclass .myclass in my CSS and now we remove one of them. It would break it. Finally, developer can always create custom chrome module. All in all, it dosen't hurt.

avatar Bakual
Bakual - comment - 1 Apr 2016

Closing as expected behavior

avatar Bakual Bakual - change - 1 Apr 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-04-01 21:02:12
Closed_By Bakual
avatar Bakual Bakual - close - 1 Apr 2016
avatar brianteeman brianteeman - close - 1 Apr 2016
avatar brianteeman brianteeman - close - 1 Apr 2016
avatar brianteeman brianteeman - close - 1 Apr 2016
avatar brianteeman brianteeman - change - 22 Apr 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 22 Apr 2016
Labels Removed: ?
avatar brianteeman brianteeman - change - 22 Apr 2016
Labels Added: ?

Add a Comment

Login with GitHub to post a comment