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
parent
8479293c91
commit
2d27fadfc5
|
@ -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 .= '';
|
||||
```
|
||||
~~~
|
||||
"""]]
|
||||
|
|
Loading…
Reference in New Issue