title: passing value to img src with spaces and quotation marks
body: <p>img src = '$imagepath'</p>
  
  <p>This command is in a loop and some of the paths have single quotation marks in name and thats what creates the problem as it truncates the path after the first quotation mark</p>
  
  <p>I tried using {imagepath} but that neglects the words after the first space.</p>
  
  <p>Similarly,</p>
  
  <p>some start html tags "img src =".$imagepath."height='300' width ='300' onclick='window.open(this.src)"</p>
  
  <p>This too neglects the words after first space.</p>
  
  <p>I also tried urlencode and decode and that doesn't work as well</p>