Skip to content
Browse files
irclogs: v8 compatibility
Signed-off-by: Chris Warrick <>
  • Loading branch information
Kwpolska committed Jul 16, 2017
1 parent 7de1666 commit 47f0f749743f931f106ffd2154e9ee8d1c35ffcc
Showing with 2 additions and 2 deletions.
  1. +2 −2 v7/irclogs/
@@ -51,7 +51,8 @@ class CompileIRCLogs(PageCompiler):
"""Compile IRC logs into HTML."""
name = "irclogs"

def compile_html(self, source, dest, is_two_file=True):
def compile(self, source, dest, is_two_file=True, post=None, lang=None):
"""Compile the source file into HTML and save as dest."""
"""Compile into HTML, using NikolaPygmentsHTML."""
with, "w+", encoding="utf8") as out_file:
@@ -63,4 +64,3 @@ def compile_html(self, source, dest, is_two_file=True):
link_matcher = re.compile(r"(http[s]?://[^\s]+)")
data = link_matcher.sub(r'<a href="\1" rel="nofollow">\1</a>', data)
return True

0 comments on commit 47f0f74

Please sign in to comment.