|
@@ -80,6 +80,8 @@
|
|
}
|
|
}
|
|
$content = ob_get_clean();
|
|
$content = ob_get_clean();
|
|
$lastContent = isset($loopLastContentByHcp[$note->hcpPro->id]) ? $loopLastContentByHcp[$note->hcpPro->id] : "";
|
|
$lastContent = isset($loopLastContentByHcp[$note->hcpPro->id]) ? $loopLastContentByHcp[$note->hcpPro->id] : "";
|
|
|
|
+ $contentText = strip_tags($content);
|
|
|
|
+ $lastContentText = strip_tags($lastContent);
|
|
?>
|
|
?>
|
|
<tr>
|
|
<tr>
|
|
<td>
|
|
<td>
|
|
@@ -120,7 +122,7 @@
|
|
<td>
|
|
<td>
|
|
|
|
|
|
// output the result of comparing two files as HTML
|
|
// output the result of comparing two files as HTML
|
|
- {!! Diff::toHTML(Diff::compare($lastContent, $content)) !!}
|
|
|
|
|
|
+ <?php echo Diff::toTable(Diff::compare($lastContentText, $contentText)) ?>
|
|
</td>
|
|
</td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
</tr>
|