blob: cb29c314272cba58990f9abbed8338c50f376a37 (
plain)
- -- Function to replace variations of Leandre with Léandre.
- function Str(el)
- i , j = string.find(el.text,"{")
- if i ~= nil then a = string.find(el.text,"}")
- print(i)
- print(string.sub(el.text,i,a))
- b = string.sub(el.text,0,i-1)
- c = string.sub(el.text,a+1,-1)
- el.text = b .. c
- end
- return el
- end
|