Code Monkey home page Code Monkey logo

Comments (4)

maryamgunja avatar maryamgunja commented on July 20, 2024

From askthem.io/blurbs, I tried to add a hyperlink & wasn't successful. Now I'm unable to edit the first blurb...

screen shot 2014-11-05 at 12 20 13 pm

from askthem.

walter avatar walter commented on July 20, 2024

Got a temporary fix in place. More to come.

The headline and body for blurbs are raw HTML. They don't have any safeguards. If there is a problem is can mess up the rest of the homepage, etc. It's good to triple check it.

from askthem.

walter avatar walter commented on July 20, 2024

Ok, it looks like you wanted to create a link to /candidates. What I've done is split the headline to be the following:

During Louisiana's Senate Runoff,

and the body to be the following HTML:

<a href=\"http://www.askthem.io/candidates\">ask Incumbent Mary Landrieu & Challenger Bill Cassidy Anything!</a>

That way "ask Incumbent..." becomes a link to /candidates.

There were a couple problems with what you had before.

  1. <a href="http://www.askthem.io/candidates> was missing the closing " and that left everything else on the page it was displayed on as a link up until the next double quote. That through off links and styling.
  2. There was no value in the link tag which meant it wouldn't display at all.

That is why I may the second part of the sentence the body and wrapped in the HTML link.

Hope that does the trick!

from askthem.

walter avatar walter commented on July 20, 2024

I bumped up the font size for the body by putting in an inline style.

from askthem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.