<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tfacs.tsadra.org/index.php?action=history&amp;feed=atom&amp;title=Widget%3ATrimWhiteSpace</id>
	<title>Widget:TrimWhiteSpace - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tfacs.tsadra.org/index.php?action=history&amp;feed=atom&amp;title=Widget%3ATrimWhiteSpace"/>
	<link rel="alternate" type="text/html" href="https://tfacs.tsadra.org/index.php?title=Widget:TrimWhiteSpace&amp;action=history"/>
	<updated>2026-10-20T15:10:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://tfacs.tsadra.org/index.php?title=Widget:TrimWhiteSpace&amp;diff=23708&amp;oldid=prev</id>
		<title>Jeremi: VSCode edit</title>
		<link rel="alternate" type="text/html" href="https://tfacs.tsadra.org/index.php?title=Widget:TrimWhiteSpace&amp;diff=23708&amp;oldid=prev"/>
		<updated>2026-06-23T09:38:34Z</updated>

		<summary type="html">&lt;p&gt;VSCode edit&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
document.addEventListener(&amp;#039;DOMContentLoaded&amp;#039;, function () {&lt;br /&gt;
  var form = document.querySelector(&amp;#039;#TfacsSubmission&amp;#039;);  // scope to your form&amp;#039;s id/class&lt;br /&gt;
  if (!form) return;&lt;br /&gt;
  form.addEventListener(&amp;#039;submit&amp;#039;, function () {&lt;br /&gt;
    [&amp;#039;firstname&amp;#039;, &amp;#039;lastname&amp;#039;, &amp;#039;email&amp;#039;].forEach(function (name) {&lt;br /&gt;
      var el = form.querySelector(&amp;#039;[name=&amp;quot;&amp;#039; + name + &amp;#039;&amp;quot;]&amp;#039;);&lt;br /&gt;
      if (el) el.value = el.value.trim().replace(/\s+/g, &amp;#039; &amp;#039;);&lt;br /&gt;
    });&lt;br /&gt;
  });&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jeremi</name></author>
	</entry>
</feed>