-
Notifications
You must be signed in to change notification settings - Fork 214
Closed
Description
Hi,
with v2.7.0, when attempting to highlight JS code that is also enclosed in the "<script type="text/javascript">" and "</script>" lines, Enlighter is outputting the "</script>" part twice at the end. While those two lines are of course not technically JS code (but usually included), v2.6.0 of Enlighter could render it just fine. This would be a sample code that causes the issue:
<script type="text/javascript">
window.addEvent('domready', function() {
// highlight all pre tags
$('pre').light({
altLines : 'hover',
indent : 2,
editable: false
});
});
</script>
Kalydon