From d001e19035b3967786a639c526c1bc7ae0896157 Mon Sep 17 00:00:00 2001
From: Michael Vogel <icarus@dabo.de>
Date: Thu, 29 May 2014 11:42:41 +0200
Subject: [PATCH] Detecting "type-video" at the conversion. (Mostly used by
 reimporting posts from pump.io that come from friendica)

---
 include/html2bbcode.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index d9255a7ffc..6e9532c92f 100644
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -167,6 +167,7 @@ function html2bbcode($message)
 	// Test
 	//node2bbcode($doc, 'span', array('class'=>'/([\w ]+)/'), '[class=$1]', '[/class]');
 	node2bbcode($doc, 'span', array('class'=>'type-link'), '[class=type-link]', '[/class]');
+	node2bbcode($doc, 'span', array('class'=>'type-video'), '[class=type-video]', '[/class]');
 
 	node2bbcode($doc, 'strong', array(), '[b]', '[/b]');
 	node2bbcode($doc, 'em', array(), '[i]', '[/i]');