[Mahara-contributors] [Bug 1815128] [NEW] Mathjax in user name on profile page is not updating tag</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=mahara-contributors@lists.launchpad.net&q=from:%22Robert+Lyon%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Robert Lyon</span></span></a></span> <span class="date"><a href="/search?l=mahara-contributors@lists.launchpad.net&q=date:20190207" rel="nofollow">Thu, 07 Feb 2019 12:26:04 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>Public bug reported: Eg If I have MathJax turned on and have 'displayname' for a user set to: \(\beta \alpha \delta \varsigma \pi \rho \)</pre><pre> When I visit their profile page I see their name displayed as βαδςπρ in page <h1> tag but the browser <title> still shows as \(\beta \alpha \delta \varsigma \pi \rho \) and makes things look broken The MathJax is unable to update the <title> tag as it does it's magic with inserting <div> stuff. But we can update the title tag with an approximation of what is wanted - eg for Greek letters they tend to exist in the font so we can scrape them from the page a apply them to the title. For things like mathematical notations like square root we can't as they are made up by css tricks So I'll add a bit of code to try and update the <title> tag so it looks less broken ** Affects: mahara Importance: Medium Status: In Progress -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! <a rel="nofollow" href="https://bugs.launchpad.net/bugs/1815128">https://bugs.launchpad.net/bugs/1815128</a> Title: Mathjax in user name on profile page is not updating <title> tag Status in Mahara: In Progress Bug description: Eg If I have MathJax turned on and have 'displayname' for a user set to: \(\beta \alpha \delta \varsigma \pi \rho \) When I visit their profile page I see their name displayed as βαδςπρ in page <h1> tag but the browser <title> still shows as \(\beta \alpha \delta \varsigma \pi \rho \) and makes things look broken The MathJax is unable to update the <title> tag as it does it's magic with inserting <div> stuff. But we can update the title tag with an approximation of what is wanted - eg for Greek letters they tend to exist in the font so we can scrape them from the page a apply them to the title. For things like mathematical notations like square root we can't as they are made up by css tricks So I'll add a bit of code to try and update the <title> tag so it looks less broken To manage notifications about this bug go to: <a rel="nofollow" href="https://bugs.launchpad.net/mahara/+bug/1815128/+subscriptions">https://bugs.launchpad.net/mahara/+bug/1815128/+subscriptions</a> _______________________________________________ Mailing list: <a rel="nofollow" href="https://launchpad.net/~mahara-contributors">https://launchpad.net/~mahara-contributors</a> Post to : mahara-contributors@lists.launchpad.net Unsubscribe : <a rel="nofollow" href="https://launchpad.net/~mahara-contributors">https://launchpad.net/~mahara-contributors</a> More help : <a rel="nofollow" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a> </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg51540.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#51553">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail2.html#51553">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg51731.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email tSliceCur"><span class="subject">[Mahara-contributors] [Bug 1815128] [NEW] Mathjax in use...</span> <span class="sender italic">Robert Lyon</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg51731.html">[Mahara-contributors] [Bug 1815128] Re: Mathjax in ...</a></span> <span class="sender italic">Robert Lyon</span></li> <li class="icons-email"><span class="subject"><a href="msg51735.html">[Mahara-contributors] [Bug 1815128] Re: Mathjax in ...</a></span> <span class="sender italic">Kristina Hoeppner</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="[Mahara-contributors] [Bug 1815128] [NEW] Mathjax in user name on profile page is not updating <title> tag"> <input type="hidden" name="msgid" value="154957062055.19204.16557949425845698058.malonedeb@soybean.canonical.com"> <input type="hidden" name="relpath" value="mahara-contributors@lists.launchpad.net/msg51553.html"> <input type="submit" value=" Robert Lyon "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="mahara-contributors@lists.launchpad.net"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search mahara-contributors"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/mahara-contributors@lists.launchpad.net/">mahara-contributors - all messages</a></li> <li class="icons-about"><a href="/mahara-contributors@lists.launchpad.net/info.html">mahara-contributors - about the list</a></li> <li class="icons-expand"><a href="/search?l=mahara-contributors@lists.launchpad.net&q=subject:%22%5C%5BMahara%5C-contributors%5C%5D+%5C%5BBug+1815128%5C%5D+%5C%5BNEW%5C%5D+Mathjax+in+user+name+on+profile+page+is+not+updating+%3Ctitle%3E+tag%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg51540.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg51731.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> <a href="#"><img src="/mahara-contributors@lists.launchpad.net/logo.png" alt="mahara-contributors"></a> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">154957062055.19204.16557949425845698058.malonedeb@soybean.canonical.com</li> </ul> </div> </body> </html>