meteorite - font styles not working in meteor when retrieved from db -


i collecting values text area of form , inserted them collection. when tried display them in template db, styles not getting applied.

suppose if have inserted android programmer in database displaying 'android programmer' bold tags when retrieved.

i using bootstrap3-wysihtml5 richtext editor in form.

what solution avoid problem.?my sample code here...

jobs = new meteor.collection('jobs');  template.postsubmit.events({         'click .formsubmit': function(event){             if(meteor.user())             {             jobdescription = $('#jobdescription').val();             jobs.insert({             j_description:jobdescription;             });           }        });  <template name="jobpage"> <div class="jobdetailbody">     <p class="desc">{{j_description}}</p> </div> </template> 

when displaying text db made use of handlebars. solution in case

<template name="jobpage"> <div class="jobdetailbody">     <p class="desc">{{{j_description}}}</p> </div> </template> 

just add 3 curly braces handle bars want escape html.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -