On Sat, Mar 19, 2016 at 6:45 PM, Сёма Мрачный <[email protected]> wrote:
> That's actually part of the base64 string. every 3 bytes encodes to 4, but >> we have 8. then it adds "=" as padding. >> > why is it need to add it by hand? can twisterd add it by itself? > exactly, i'm not adding it by hand! twisterd is using a standard base64 encode function, and the string returned includes the "=". > I don't know exactly how to get a reference into the formatted post that >> can be later changed by a callback or something. >> > when we match shortened twister URL and perform "msg = msgAddHtmlEntity()" > we may add some *id* to so called *templateShortenedTwisterURL* which we > put in newHtmlEntityLink() and then search element with that id from > callback function to manage it. it's not so good but I don't see clearly > your need. > Great idea! regards, Miguel -- You received this message because you are subscribed to the Google Groups "twister-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
