Community
Participate
Working Groups
Build Identifier: 1.5 The BlockType ElementInfofor Note, Panel,Info Warning and Tip have hard coded style that are impossible to overwrite in a normal CSS style file. Reproducible: Always Steps to Reproduce: 1. Create a wiki page 2. Add a {tip:tiltle=Tip title here}This is a tip comment{tip} 3. Render in html 4. Inspect the html and notice the embedded style <div class="tip" style="border: 1px solid #090;background-color: #dfd;margin: 20px;padding: 0px 6px 0px 6px;"><p><b>Tip title here</b></p><p>This is a tip comment</p></div>
Care should be taken in finding a solution that probably does not change the current/default behavior. I am sure people are relying on the hard coded style to be there. However, this is just my opinion.
Thanks for the bug Patrick. @HtmlDocumentBuilder.setSuppressBuiltInStyles(true)@ will prevent these CSS styles from being emitted. This setting is also available from the wikitext-to-html Ant task. Closing as WORKSFORME. If the setting is not sufficient for you, feel free to state your use case and propose a solution.
Created attachment 201364 [details] mylyn/context/zip