{"action":"created","issue":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1975","labels_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1975/labels{/name}","comments_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1975/comments","events_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1975/events","html_url":"https://github.com/dita-ot/dita-ot/issues/1975","id":96109551,"number":1975,"title":"ditaval changebar should be supported for HTML processing","user":{"login":"tyrin","id":3789816,"avatar_url":"https://avatars.githubusercontent.com/u/3789816?v=3","gravatar_id":"","url":"https://api.github.com/users/tyrin","html_url":"https://github.com/tyrin","followers_url":"https://api.github.com/users/tyrin/followers","following_url":"https://api.github.com/users/tyrin/following{/other_user}","gists_url":"https://api.github.com/users/tyrin/gists{/gist_id}","starred_url":"https://api.github.com/users/tyrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyrin/subscriptions","organizations_url":"https://api.github.com/users/tyrin/orgs","repos_url":"https://api.github.com/users/tyrin/repos","events_url":"https://api.github.com/users/tyrin/events{/privacy}","received_events_url":"https://api.github.com/users/tyrin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-20T16:59:03Z","updated_at":"2015-07-21T14:49:55Z","closed_at":null,"body":"All you'd have to do is create a div around the flagged element with a style similar to:\r\nborder-left: thick double #ff0000;\r\nThe changebar doesn't seem to be supported for html processing and it should be. \r\nCurrently you handle the color and backcolor attribute for val by injecting the style into the element. It would be better if you created a div element to surround the flagged element and injected the style into that or allowed a class name to be specified so the element could be styled via css.\r\n\r\nFor example, right now &lt;revprop action=&quot;flag&quot; val=&quot;15.8&quot; color=&quot;blue&quot;&gt;&lt;/revprop&gt;\r\n generates\r\n &lt;div class=&quot;section&quot; style=&quot;color:blue;&quot;&gt; \r\nWhereas it would be better if it generated: \r\n&lt;div class=&quot;revprop&quot; style=&quot;color:blue;&quot;&gt; &lt;div class=&quot;section&quot;&gt; ...."},"comment":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/comments/123354392","html_url":"https://github.com/dita-ot/dita-ot/issues/1975#issuecomment-123354392","issue_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1975","id":123354392,"user":{"login":"tyrin","id":3789816,"avatar_url":"https://avatars.githubusercontent.com/u/3789816?v=3","gravatar_id":"","url":"https://api.github.com/users/tyrin","html_url":"https://github.com/tyrin","followers_url":"https://api.github.com/users/tyrin/followers","following_url":"https://api.github.com/users/tyrin/following{/other_user}","gists_url":"https://api.github.com/users/tyrin/gists{/gist_id}","starred_url":"https://api.github.com/users/tyrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyrin/subscriptions","organizations_url":"https://api.github.com/users/tyrin/orgs","repos_url":"https://api.github.com/users/tyrin/repos","events_url":"https://api.github.com/users/tyrin/events{/privacy}","received_events_url":"https://api.github.com/users/tyrin/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T14:49:54Z","updated_at":"2015-07-21T14:49:54Z","body":"I like jelovirt's solution - just add another class to the element, i.e.\r\n&lt;div class=&quot;section revprop&quot;&gt; ....\r\nWith the flagging class second, so that it will override the standard class for the element. Then I can sort out what the class should do for each element type in my CSS. (You might want to supply some basic formatting for the user in the standard commonltr.css)."}}