<?xml version="1.0" ?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">

<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
	<id>Suki:ohara_youtube_embed</id>
	<version>1.3</version>

	<file name="$sourcedir/Post.php">
	<operation>
			<search position="replace"><![CDATA[<img>]]></search>
			<add><![CDATA[<img><iframe>]]></add>
		</operation>
	</file>
</modification>

<?xml version="1.0" ?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">

<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
	<id>Suki:ohara_youtube_embed</id>
	<version>1.3</version>

	<file name="$sourcedir/Post.php">
		<operation>
			<search position="replace"><![CDATA[if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '' && (!allowedTo('admin_forum')]]></search>
			<add><![CDATA[if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img><iframe>')) === '' && (!allowedTo('admin_forum')]]></add>
		</operation>
		<operation>
			<search position="replace"><![CDATA[if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')]]></search>
			<add><![CDATA[if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img><iframe>')) === '')]]></add>
		</operation>
	</file>
</modification>

Make sure both places gets edited
Make sure both places gets edited

Signed-off-by: Suki <52329a27ea5670aeec0efeeb0773bf1b4f1affa1@missallsunday.com>
