<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ATrim_quotes</id>
	<title>Module:Trim quotes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ATrim_quotes"/>
	<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Module:Trim_quotes&amp;action=history"/>
	<updated>2026-04-04T21:06:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://the-democratika.com/wiki/index.php?title=Module:Trim_quotes&amp;diff=9027&amp;oldid=prev</id>
		<title>&gt;Johnuniq: mw.ustring is not needed to find apostrophe/quote; this is more efficient</title>
		<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Module:Trim_quotes&amp;diff=9027&amp;oldid=prev"/>
		<updated>2019-05-21T01:19:23Z</updated>

		<summary type="html">&lt;p&gt;mw.ustring is not needed to find apostrophe/quote; this is more efficient&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p._trim(s)&lt;br /&gt;
	if s then&lt;br /&gt;
		if s:match([[^([&amp;#039;&amp;quot;]).*%1$]]) then return p._trim(string.sub(s,2,-2)) else return s end&lt;br /&gt;
	else&lt;br /&gt;
		return &amp;quot;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.trim(frame)&lt;br /&gt;
	local s = (frame.args[&amp;#039;s&amp;#039;] or frame.args[1]) or (frame:getParent().args[&amp;#039;s&amp;#039;] or frame:getParent().args[1])&lt;br /&gt;
	return p._trim(s)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>&gt;Johnuniq</name></author>
	</entry>
</feed>