Skip to content

Commit

Permalink
Prevent scoped styles from appearing in feed output.
Browse files Browse the repository at this point in the history
Fixes #73. Thanks CyberSkull!
  • Loading branch information
Michael Sisk committed Jan 21, 2013
1 parent 2c0a681 commit 95db8c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions -/php/integrate/loop_start.php
Expand Up @@ -26,7 +26,11 @@
* @uses webcomic_character_description() * @uses webcomic_character_description()
*/ */
?> ?>

<?php if ( !is_feed() ) { ?>
<style scoped>.webcomic-img img{height:auto;max-width:100%}</style> <style scoped>.webcomic-img img{height:auto;max-width:100%}</style>
<?php } ?>

<?php if ( is_front_page() ) { ?> <?php if ( is_front_page() ) { ?>
<div data-webcomic-container="integrated"> <div data-webcomic-container="integrated">
<div class="integrated-webcomic"> <div class="integrated-webcomic">
Expand Down

0 comments on commit 95db8c4

Please sign in to comment.