... | ... |
@@ -59,7 +59,7 @@ module OctopressLiquidFilters |
59 | 59 |
# Extracts raw content DIV from template, used for page description as {{ content }} |
60 | 60 |
# contains complete sub-template code on main page level |
61 | 61 |
def raw_content(input) |
62 |
- /.<div class="entry-content">(?<content>[\s\S]*?)<\/div>\s*<\/article>/ =~ input |
|
62 |
+ /<div class="entry-content">(?<content>[\s\S]*?)<\/div>\s*<(footer|\/article)>/ =~ input |
|
63 | 63 |
return (content.nil?) ? input : content |
64 | 64 |
end |
65 | 65 |
|