code: public static function generateUnwrapped($strScope=TL_MODE, $blnRaw=false)
  	{
  		$session = System::getContainer()->get('session');
  
  		if (!$session->isStarted())
  		{
  			return '';
  		}
  
  		$strMessages = '';
  		$flashBag = $session->getFlashBag();
  
  		foreach (static::getTypes() as $strType)
  		{
  			$strClass = strtolower($strType);
  			$arrMessages = $flashBag->get(static::getFlashBagKey($strType, $strScope));
  
  			foreach (array_unique($arrMessages) as $strMessage)
  			{
  				if ($strType == 'TL_RAW' || $blnRaw)
  				{
  					$strMessages .= $strMessage;
  				}
  				else
  				{
  					$strMessages .= '<p class="' . $strClass . '">' . $strMessage . '</p>';
  				}
  			}
  		}
  
  		return trim($strMessages);
  	}
docs: Return the messages as HTML
  
  @param string  $strScope An optional message scope
  @param boolean $blnRaw   Optionally return the raw messages
  
  @return string The messages HTML markup