Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8726761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:18:46+00:00 2026-06-13T08:18:46+00:00

What tag can I use to prevent any interpretation? I need that because I

  • 0

What tag can I use to prevent any interpretation? I need that because I need to write down some source code and it’s result in blogger. I have this code in blogspot, but the code inside the <pre> is processed

The code is as follows:

<pre class='prettyprint'>
$latex \displaystyle S(n)=\sum_{k=1}^{n}{\frac{1}{T_{k}}=\sum_{k=1}^{n}{\frac{6}{k(k+1)(k+2)}$
</pre>

This is the result:
$latex \displaystyle S(n)=\sum_{k=1}^{n}{\frac{1}{T_{k}}=\sum_{k=1}^{n}{\frac{6}{k(k+1)(k+2)}$

enter image description here

When I can replace ‘$’ in <pre> with something equivalent, I could avoid this issue.

I tried <code> and <pre>, but they all interpret the content.

ADDED

I’m trying to use the javascript code found in this post.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T08:18:47+00:00Added an answer on June 13, 2026 at 8:18 am

    If I understand correctly, you are using Replacemath, and its documentation says: “Should you need to to prevent certain $ signs from triggering LaTeX rendering, replace $ with the equivalent HTML <span>$</span> or &#36;, or put the code inside a <pre> or <code> block if appropriate.” Of these, the first method seems to actually work.

    That is, replace all occurrences of “$” inside the pre element by <span>$</span>.

    I tested this by publishing a test in my blog (which had been dormant for 6 years…). I had to manually break the pre block to fit into the column.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Like a tag that I can use to store some necessary info? But really
Possible Duplicate: Can we use any other TAG inside <ul> along with <li>? Or
Can an HTML email use an image attachment as the source for tag? Let's
I'm creating a photo viewer which the user can use to tag images like
Can I use a <video> or <audio> tag to play a playlist, and to
Much like how the video tag can provide multiple source attributes so an mp4
I know of the OpenGraph og:image meta tag that can be used on the
I'm trying to write a python script that modifies the contents of <script> tag
I try to use this code to prevent multi-click in ImageView but it doesn't
I write (in-process) hook to prevent add BAD tag name locally: .hg/hgrc : pretag.badtagname

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.