Meta data is returned without line breaks.
-
Hello.
Thanks for this super plugin you created.
I have an issue with displaying the data from the metabox.
I’ve created the metabox for someinstruction and pasted a text there. which has some style and line breaks.
https://i62.tinypic.com/21brxgz.pngAfter it, I’ve added couple lines to the code to output this data on the page:
$shop_instruction = get_post_meta( $post->ID, 'purchase_instruction', true ); <div class="row"> <div class="spb_content_element span12 spb_text_column"> <div class="spb_wrapper clearfix"> <h4 class="spb_heading spb_text_heading"><span>How to buy on <?php the_title() ?> shop?</span></h4> <p><?php echo $shop_instruction ?></p> </div> </div> </div>
When I open the page, I can see that all styling (f.e. bold text) is displayed correctly, but there are no line breaks on the page at all.
Could you please help me to handle this issue? What could be the reason of such bug?
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Meta data is returned without line breaks.’ is closed to new replies.