diff options
author | Brendan Long <self@brendanlong.com> | 2018-08-29 19:04:55 +0300 |
---|---|---|
committer | Brendan Long <self@brendanlong.com> | 2018-08-29 21:17:46 +0300 |
commit | 17e181358ffc0d5a9ec2b67ff4fdfd18a82f783f (patch) | |
tree | 311f48a8a6c12e0987a320daacdacfe115e2bc49 /vapi | |
parent | a311debe9cc082cb165263afdebf339d45f88cad (diff) |
Add "htmlclean" using Gumbo parser
See: https://github.com/google/gumbo-parser/blob/master/examples/clean_text.cc
Diffstat (limited to 'vapi')
-rw-r--r-- | vapi/htmlclean.vapi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vapi/htmlclean.vapi b/vapi/htmlclean.vapi new file mode 100644 index 00000000..d4c13cd5 --- /dev/null +++ b/vapi/htmlclean.vapi @@ -0,0 +1,4 @@ +[CCode(cheader_filename = "htmlclean.h")] +namespace Htmlclean { + public static string strip_html(string text); +} |