From 53aafd66434d97f5e0e9209650581177e2c79a91 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sat, 18 Nov 2017 22:24:06 +0100 Subject: Lua filters: preload text module (#4077) The `text` module is preloaded in lua. The module contains some UTF-8 aware string functions, implemented in Haskell. The module is loaded on request only, e.g.: text = require 'text' function Str (s) s.text = text.upper(s.text) return s end --- pandoc.cabal | 1 + 1 file changed, 1 insertion(+) (limited to 'pandoc.cabal') diff --git a/pandoc.cabal b/pandoc.cabal index 7e0790973..7dfc06ed5 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -327,6 +327,7 @@ library scientific >= 0.2 && < 0.4, vector >= 0.10 && < 0.13, hslua >= 0.9 && < 0.10, + hslua-module-text >= 0.1.2 && < 0.2, binary >= 0.5 && < 0.9, SHA >= 1.6 && < 1.7, haddock-library >= 1.1 && < 1.5, -- cgit v1.2.3