Permalink
Browse files

Fixed: remove html tags

  • Loading branch information...
tj committed May 19, 2012
1 parent bfa6129 commit b5cc144d3c5804572514ec557f7cbb8618706577
Showing with 11 additions and 0 deletions.
  1. +1 −0 bin/mad
  2. +10 −0 examples/formatting.md
View
@@ -88,6 +88,7 @@ display_file() {
s|\*(.+?)\*|\e[$em\1\e[0m|g; \
s|_(.+?)_|\e[$em\1\e[0m|g; \
s| (.+)| \e[$code\1\e[0m|g; \
+ s|<(.+?)>||g; \
s|^| |;" \
| less -R
exit
View
@@ -7,3 +7,13 @@
- **bold**
- `code`
+## Moar
+
+ Node has this, HTML should be ignored:
+
+ <!-- foo -->
+
+ Another example:
+
+ <em>foo</em> bar <em>baz</em>
+

0 comments on commit b5cc144

Please sign in to comment.