Commit e3ca58bd authored by Hermann Mayer's avatar Hermann Mayer

Fixed a editor markdown format html char escaping. Now the chars were re-encoded…

Fixed a editor markdown format html char escaping. Now the chars were re-encoded to fit the inputs. Updated deployment.
parent af71752c
deploy @ 0dcf13d6
Subproject commit 8ff3c33d5f0f0bd24bdca9c7a62c78a4bf78de67
Subproject commit 0dcf13d6932e34f044a11b13b850960db5fa2ec0
......@@ -36,6 +36,9 @@ class EditorController extends Controller
// Parse the requested data
$html = $parser->transform($text);
// Return to valid unescaped html chars
$html = htmlspecialchars_decode($html);
// Response the parsed data
return $this->render('JityHomepageBundle:Editor:format.html.twig', array(
'content' => $html
......
......@@ -56,6 +56,11 @@ footer {
width: 160px;
}
.image {
margin-right: 1em;
margin-left: 0.5em;
}
/**********************************
* Coloring and Styling
*********************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment