Break theme when Social Locker "starting inside" element
-
When Social Locker starting in pre element:
For example:
|pre|
#z::
;Active when you highlight code portion and hit Win+Z
;Shapeshifter cause clipboard problem with AutoHotkey ;No more, see
…..
;Convert into regular newline character for more precise manipulating later
StringReplace, Clipboard, Clipboard,rn, `n, All
<div class=”onp-locker-call” data-lock-id=”onpLock690596″>
<p>;Count line numbers of current code for inserting appropriate tags
numLine = 0
…..
|/pre|
…..After analyze HTML source of this post, I can say:
It does not enclose with </div> anymore (start div without enclose /div), cause my theme broken and it only locks this pre element rather than entire leftover portion of the post in “Skip & Lock” mode.Normal post:
http://minhthang.name.vn/web-design/wordpress/basic-interactive-with-wordpress-database/Broken with pre:
http://minhthang.name.vn/programming/autohotkey/wrap-your-code-in-pretty-tags-made-easy-autohotkey/
The topic ‘Break theme when Social Locker "starting inside" element’ is closed to new replies.