You are here

public function ScaldWebTestCase::makeParseable in Scald: Media Management made easy 7

Make a HTML markup parseable.

1 call to ScaldWebTestCase::makeParseable()
ScaldDnDTestCase::testScaldDndLibrary in tests/scald.test
Test Scald DnD Library.

File

tests/scald.test, line 116
Tests for scald.module.

Class

ScaldWebTestCase
Defines a base class for testing the Scald module.

Code

public function makeParseable($markup, $atom, $context) {
  return '<!-- scald=' . $atom->sid . ':' . $context . ' -->' . $markup . '<!-- END scald=' . $atom->sid . ' -->';
}