Permalink
Browse files

Prevent scoped styles from appearing in feed output.

Fixes #73. Thanks CyberSkull!
  • Loading branch information...
1 parent 2c0a681 commit 95db8c4cee79b6b1f47360dcefe41f29edc470cd Michael Sisk committed Jan 21, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 -/php/integrate/loop_start.php
View
4 -/php/integrate/loop_start.php
@@ -26,7 +26,11 @@
* @uses webcomic_character_description()
*/
?>
+
+<?php if ( !is_feed() ) { ?>
<style scoped>.webcomic-img img{height:auto;max-width:100%}</style>
+<?php } ?>
+
<?php if ( is_front_page() ) { ?>
<div data-webcomic-container="integrated">
<div class="integrated-webcomic">

0 comments on commit 95db8c4

Please sign in to comment.