Return to Snippet

Revision: 480
at July 15, 2006 14:38 by rolandog


Initial Code
$source = "</p><p>{$title}{$author}{$comment}</p><div class='code' style='border: 1px dotted; overflow: auto; white-space:nowrap;'>$source</div><p>";

/* You should also set, in your WordPress Stylesheet, a 'code' class:
.code {
	font: 1.1em 'Courier New', Courier, Fixed;
	text-align: left;
	}
*/

Initial URL
http://rolandog.com/archives/2006/07/15/snipplr-wordpress-plugin/

Initial Description
You should edit your WordPress plugin so that the $source variable at the end shows this value. Though it is a shame that code can't have an 'ol' as a childNode, and neither can the pre element. Couldn't find any way of making it all fit: http://learningforlife.fsu.edu/webmaster/references/xhtml/tags/text/pre.cfm

Initial Title
Make Snipplr WordPress plugin output valid XHTML

Initial Tags
plugin, xhtml, wordpress

Initial Language
PHP