Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Austin

    (@austyfrosty)

    I take that back. I just took a look at the code, and then saw the additional stylesheet (which still gets added to all pages).

    Thread Starter Austin

    (@austyfrosty)

    Also, off topic. But the CSS added to the head should be compressed in some manner. Again for speed.

    Try:

    echo "<style id='BugLibraryStyle' type='text/css'>\n";
    			$css = stripslashes($genoptions['fullstylesheet']);
    			$css = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $css);
    			/* remove tabs, spaces, newlines, etc. */
    			$css = str_replace(array("\r\n", "\r", "\n", "\t", '  ', '    ', '    '), '', $css);
    			echo $css;
    		echo "</style>\n";
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Bug Library] Proper load of CSS’ is closed to new replies.