Realised only _now_ that the Privacy version was broken

This commit is contained in:
Imre Kristoffer Eilertsen authored and GitHub committed 2020-06-13 17:24:34 +02:00
1 parent 3473901e78
commit 7567682992
2 files changed
+7 -7

No files matched your search

@@ -916,7 +916,7 @@ krom.is#@#.share-container
!#endif
!#include NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries.txt
!#include AntiAdblockEntries.txt
! 🇳🇴: ——— Forsøker å få nettleseren til å laste inn filer i HTTPS, dersom nettstedet ikke automatisk omdirigerer HTTP til dens HTTPS-versjon ———
@@ -1056,12 +1056,6 @@ def prepare_privacy(lines) -> str:
line
)
line = re.sub(
r"! Version: [0-9][0-9][0-9][0-9].*",
"",
line
)
line = re.sub(
"\[Adblock Plus 3.4\]",
"",
@@ -1074,6 +1068,12 @@ def prepare_privacy(lines) -> str:
line
)
line = re.sub(
r"!#include NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries\.txt",
r"!#include AntiAdblockEntries.txt",
line
)
text += line + '\r\n'
return text