var fold = /<div class='fold'/;

export default function getPreFoldContent(content) {
  const match = fold.exec(content);
  if (match) {
    return content.slice(0, match.index);
  }
  return content;
};

@@ -1,8 +1,60 @@
+var prefix = /%3Cp%3E(%3Cem%3E)?%5C%5B%5B%5E%5C%5D%5D+%5C%5D(%3C%5C/em%3E)?%3C%5C/p%3E/m;%0A
 var fold
@@ -139,17 +139,21 @@
   const 
-m
+foldM
 atch = f
@@ -177,17 +177,21 @@
 ;%0A  if (
-m
+foldM
 atch) %7B%0A
@@ -194,22 +194,25 @@
 ) %7B%0A    
-return
+content =
  content
@@ -221,17 +221,21 @@
 lice(0, 
-m
+foldM
 atch.ind
@@ -243,16 +243,59 @@
 x);%0A  %7D%0A
+%0A  content = content.replace(prefix, '');%0A%0A
   return

Remove post prefix from preFold content