{"id":10479291,"date":"2018-07-10T08:53:40","date_gmt":"2018-07-10T08:53:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/issue-adding-multiple-classes\/"},"modified":"2018-07-10T08:53:40","modified_gmt":"2018-07-10T08:53:40","slug":"issue-adding-multiple-classes","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/issue-adding-multiple-classes\/","title":{"rendered":"Issue: adding multiple classes"},"content":{"rendered":"<p>Hi Matt,<\/p>\n<p>First off, great plugin, good work! <\/p>\n<p>I&#8217;m trying to add multiple classes to the &#8220;Menu Class&#8221;. But when i&#8217;m testing it in the browser, it removes the whitespaces between the classes, so it creates one class.<br \/>\nI&#8217;ve been looking for the problem and found om line 83 of &#8220;widget.php&#8221; the function &#8220;sanitize_html_class&#8221;. This functions removes the whitespaces. <\/p>\n<p>I would be great if you can fix this issue in a future update.<\/p>\n<p>With kind regards<br \/>\nErik-Jan<\/p>\n","protected":false},"template":"","class_list":["post-10479291","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10479291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10479291\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10479291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}