html-entities Questions

10

Solved

What's the HTML character entity for the # sign? I've looked around for "pound" (which keeps returning the currency), and "hash" and "number", but what I try doesn't s...
Hooknosed asked 11/6, 2010 at 18:14

8

Solved

I am looking for a basic information icon like this:
Jerejereld asked 23/11, 2015 at 18:58

9

Solved

<?php $x = array("<b>","<i>","b","i","<h1>hello</h1>"); print_r ($x); echo "<hr>"; var_dump ($x); out...
Ftc asked 7/4, 2012 at 16:14

4

Solved

I want an optional line-breaking character that is always invisible that works with the word-wrap: break-word; CSS style. Here are some specifics. My goal is to break apart long links in reasonabl...
Fash asked 5/4, 2013 at 18:35

3

Solved

I have string variable with HTML entities: var str = 'Some text & text'; I want to convert (decode) it to original characters: Some text & text. JavaScript doesn't have built-in fu...
Mortensen asked 6/7, 2012 at 16:17

6

Solved

Is there a native way to encode or decode HTML entities using JavaScript or ES6? For example, < would be encoded as <. There are libraries like html-entities for Node.js but it feels like...
Simarouba asked 26/10, 2016 at 13:37

7

Solved

I'm parsing some HTML with Beautiful Soup 3, but it contains HTML entities which Beautiful Soup 3 doesn't automatically decode for me: >>> from BeautifulSoup import BeautifulSoup >&gt...
Yarvis asked 18/1, 2010 at 16:8

7

Solved

How to convert a Unicode string to HTML entities? (HEX not decimal) For example, convert Français to Français.
Cresting asked 7/11, 2012 at 23:39

7

Is there a PHP function to convert named HTML entities into their respective numeric HTML entities? For example: $str = "Oggi è un bel giorno"; echo entities_to_unicode($str);...
Dreiser asked 24/6, 2012 at 10:39

4

I have this as my menu bar for the site when viewed on tablet: The menu icon on the right shows other options when clicked. The code is <div id="menu"> <a id="metaMenu" href="#">&...
Auk asked 9/10, 2013 at 21:7

5

Solved

While solving a little bug on a website caused by a non-breaking space ( ) I was wondering if there's an opposite. Is there an HTML code for a breaking space, and if so, what is it? I saw ...
Baskett asked 29/7, 2016 at 14:52

5

Solved

When I set a value of a text node with node.nodeValue="string with &#xxxx; sort of characters" ampersand gets escaped. Is there an easy way to do this?
Plead asked 4/2, 2009 at 20:22

5

Solved

Given the following URL (working, try it!) https://select-test.wp3.rbsworldpay.com/wcc/purchase?instId=151711&cartId=28524&currency=GBP&amount=1401.49&testMode=100&name=Tom%2...
Prelect asked 6/10, 2010 at 10:55

11

I have a java string with " " from a text file the program accesses with a Buffered Reader object. I have tried string.replaceAll(" ","") and it doesn't seem to work. Any ideas? ...
Vitus asked 23/7, 2010 at 13:12

5

Solved

I'm having a problem with PHP's htmlentities and the é character. I know it's some sort of encoding issue I'm just overlooking, so hopefully someone can see what I'm doing wrong. Running a straigh...
Philosophical asked 5/10, 2011 at 15:26

4

I want to replace certain characters with their respective HTML entities in an HTML response inside a filter. Characters include <, >, &. I can't use replaceAll() as it will replace...
Atheroma asked 11/6, 2012 at 10:8

2

Yeah, so, I want to store translated choices for my model, but Django disagrees with me on this one. Version of Django is 1.3 and the model and choices look something like this: from django.db imp...
Poche asked 22/2, 2013 at 14:52

10

Solved

How do you use the CSS content property to add HTML entities? Using something like this just prints   to the screen instead of the non-breaking space: .breadcrumbs a:before { content: '&a...
Lollard asked 10/10, 2008 at 7:19

4

Solved

Is there a bigger version of •? • Right now it is this big I want it this big without using font sizes or <li>
Northway asked 23/12, 2010 at 18:22

8

Solved

The box has no Ruby/Python/Perl etc. Only bash, sed, and awk. A way is to replace chars by map, but it becomes tedious. Perhaps some built-in functionality i'm not aware of?
Bullshit asked 13/10, 2012 at 13:43

7

Solved

I have a strange problem: In the database, I have a literal ampersand lt semicolon: <div whenever its printed into a html textarea tag, the source code of the page shows the > a...
Garbo asked 15/12, 2011 at 11:6

10

Solved

I am processing xhtml using javascript. I am getting the text content for a div node by concatenating the nodeValue of all child nodes where nodeType == Node.TEXT_NODE. The resulting string someti...
Openhearth asked 30/9, 2009 at 2:18

4

Solved

I am trying to sanitize a string and have ended up with the following: Characterisation of the arsenic resistance genes in lt i gt Bacillus lt i gt sp UWC isolated from maturing fly ash acid mi...
Indifferent asked 31/7, 2018 at 19:44

4

Solved

I’m new to reason-react. I’m trying to put a copyright symbol in a react-reason component. I've tried <span >(ReasonReact.stringToElement("©"))</span> but this doesn’t give...
Danley asked 28/2, 2018 at 22:9

7

Solved

By creating a variable var a = 'something' + ' ' + 'something' I get this value: 'something something'. How can I create a string with multiple spaces on it in JavaScript?
Birdlime asked 5/11, 2015 at 8:32

© 2022 - 2025 — McMap. All rights reserved.