fix fenced code block syntax for comprehensibility

ikiwiki.info does not support ``` as a fence for code blocks, only ~~~,
and it only works at the beginning of a new paragraph.
master
Simon McVittie 2015-03-01 12:40:59 +00:00
parent 8479293c91
commit 2d27fadfc5
1 changed files with 3 additions and 2 deletions

View File

@ -5,11 +5,12 @@
date="2015-02-25T05:43:26Z"
content="""
I fixed it by adding
```
~~~
sub decode($$;$) {
my ( $name, $octets, $check ) = @_;
return undef unless defined $octets;
return $octets if Encode::is_utf8($octets); # add this check
$octets .= '';
```
~~~
"""]]