This change was motivated by removing incorrectly formatted <div class="info"> elements, and the script I built for it worked to convert <div class="note"> elements as well.
Any <div class="info"> whose contents are indented were left, because markdown would have incorrectly interpreted the contents as a codeblock.
For the curious, here's the script I used to make the edits (minus some manual fixups for lists).
```python
#!/usr/bin/env python
# find riak/kv -type f | xargs perl -pi -e 's/Nginx version notes<\/div/Nginx version notes<\/div>/'
# find riak/cs -type f | xargs perl -pi -e 's/clas="title"/class="title"/'
import sys
import re
import textwrap
file_name = sys.argv[1]
r = re.compile(
r"""(?<=\n)
Like it says on the tin.
This change was motivated by removing incorrectly formatted
<div class="info">
elements, and the script I built for it worked to convert<div class="note">
elements as well.Any
<div class="info">
whose contents are indented were left, because markdown would have incorrectly interpreted the contents as a codeblock.For the curious, here's the script I used to make the edits (minus some manual fixups for lists).
```python #!/usr/bin/env python # find riak/kv -type f | xargs perl -pi -e 's/Nginx version notes<\/div/Nginx version notes<\/div>/' # find riak/cs -type f | xargs perl -pi -e 's/clas="title"/class="title"/' import sys import re import textwrap file_name = sys.argv[1] r = re.compile( r"""(?<=\n)👍 :taco: 🎉 🎣