Skip to content

Commit

Permalink
Merge pull request #7688 from braze-inc/fix-missing-content-202407
Browse files Browse the repository at this point in the history
Fix missing content after a period.
  • Loading branch information
internetisaiah authored Jul 16, 2024
2 parents b0de7e4 + f5388e7 commit eb6851f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/documents.js
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ $(document).ready(function() {
if ($(this)[0].nextSibling){
punctuation = ($(this)[0].nextSibling.nodeValue || '').substr(0,1);
if (punctuations.includes(punctuation)) {
$(this)[0].nextSibling.remove();
$(this)[0].nextSibling = $(this)[0].nextSibling.substring(1);
has_punchtuation = true;
}
}
Expand Down

0 comments on commit eb6851f

Please sign in to comment.