Safari inserts extra Tags in phpBB2

Using Safari 3.1.2 with Vista and XP on two different computers.
In a phpBB2 forum, after selecting a formatting entry from a dropdown menu, Safari correctly inserted the BB tags for font size
(in square brackets, which don't work here) {size=24} Sample text [/size]".
When I clicked to the text field or pressed tab to move the focus, Safari added another
{size=0} and [/size]"
tag to the text.
This does not happen in a phpBB3 board, nor do either IE, Firefox or Opera show this behaviour with the same board.
Message was edited by: Zoe Lionheart {Brackets}

I'm not sure that's possible. Somehow that's how Safari received the code.
Usually the other browsers will ignore these types of errors. They are more forgiving.
Click Help -> Report Bugs to Apple. Looks like 'behavior is wrong'.

Similar Messages

  • Safari inserts extra lines in postings causing formating problems

    I am currently using Safari on the University of Phoenix website as an instructor. Whenever I post a reply to the students and post feedback to them, Safari inserts extra lines in the posting where ever, on when ever, the return key is used. For every carriage return, an extra line is ultimately inserted into the post. Does anyone know how to stop this?

    Please see this thread:
    http://discussions.apple.com/thread.jspa?threadID=1467276&tstart=0
    It might be the logic board, but indications are that it's an overheated graphics card. I have the exact same iMac you do (even with 3 gigs memory upgrade) and have similar problems.

  • Is there a workaround for inserting form tags?

    Long time ago some developers found some bugs in the SWING class. The bug seems to appear when an HTML page pasted in the browser. Then the <form>-tags are disappeared while they can be found before pasting the HTML into the browser.
    This is my code so far:
    int pos = 0;
    int i = 0;
    body = getBodyContent();
    JspWriter out = body.getEnclosingWriter();
    HTMLKit = new HTMLEditorKit();
    try {
    out.println(body.getString());
    body.clearBody();
    String theQuery = "http://documentum1.europe.intranet/Docu2store:/list.htm?objectID=" + folderid + "&framed=yes|0&docstart=" + docstart;
    try {
    URL aURL = new URL( theQuery );
    URLConnection conn = aURL.openConnection();
    JEditorPane HTMLPane = new JEditorPane();
    HTMLPane.setContentType("text/html");
    HTMLPane.setPage(aURL);
    HTMLPane.read( new InputStreamReader( conn.getInputStream() ), "Docu2store" );
    //HTMLPane.read( new Reader (conn.getInputStream() ), "Docu2Store" );
    HTMLDoc = (HTMLDocument) HTMLPane.getDocument();
    //HTMLDoc.setBase(new URL ("http://documentum1.europe.intranet/"));
    // Reading the form
    HTMLDocument.Iterator form = HTMLDoc.getIterator(HTML.Tag.FORM);
    //form.next();
    Enumeration formEnum = form.getAttributes().getAttributeNames();
    out.println (form.getAttributes().getAttributeNames());
    out.println (form.getAttributes().getAttribute(formEnum.nextElement()).toString());
    //form.next();
    //out.println (form.getAttributes().getAttribute(formEnum.nextElement()).toString());
    // Reading the links and replace them
    HTMLDocument.Iterator theLinks = HTMLDoc.getIterator(HTML.Tag.A);
    theLinks.next();
    while (theLinks.isValid()) {
    Enumeration theAttsEnum = theLinks.getAttributes().getAttributeNames();
    String theValue = theLinks.getAttributes().getAttribute(theAttsEnum.nextElement()).toString();
    if (theValue.indexOf("sorting", 0) > 0) {
    i++;
    int pageNum = giveItemUrl("docstart", theValue) + 1;
    int startPosLink = theLinks.getStartOffset();
    int endPosLink = theLinks.getEndOffset();
    int linkLength = endPosLink - startPosLink;
    try {
    HTMLDoc.remove(startPosLink, linkLength);
    String fid = giveItemUrlString("objectID", theValue);
    String docstart = giveItemUrlString("docstart", theValue);
    String sorting = giveItemUrlString("sortingfield", theValue);
    HTMLKit.insertHTML(HTMLDoc, endPosLink - 1, "<a href='main.jsp?fid=" + fid + "&docstart="+docstart+"'>" + Integer.toString(pageNum) + "</a>", 0, 0, HTML.Tag.A);
    } catch (BadLocationException ble) {
    ble.printStackTrace();
    out.println( i + "fout" );
    theLinks.next();
    HTMLPane.write(out);

    Insert HTML via InsertHTML() doesn't work! After writing the HTMLDocument, Java inserts extra <html> tags!

  • IF statement inserts extra line.

    I am having problems with IF statements inserting extra lines;
    POH_VENDOR_NAME<?if:POH_PO_NUM != ''?>(POH_PO_NUM)<?end if?>
    Returns:
    Consolidated Supplies
    (1085)
    Instead of:
    Consolidated Supplies (1085)
    I have tried using CHOOSE but get the same results. Any help appreciated.
    Thanks
    Carl.

    Hi Carl,
    Hope your development is going ok. Not sure why the choose wouldn't work with @inline, if the IF statement did. What I would suggest instead is using a series of IF statements. So <?if@inline:x=1?> and the opposite <?if@inline:x!=1?>
    Its a bit of a pain, but I can't think of any other way to get around this.
    Regards,
    Cj

  • Do I need to insert meta tags on domain if it redirects to web.mac page?

    Hi,
    I've set up a domain (http://www.blossomsolutions.ca) with Internic.ca in Canada and filled out a very easy form to redirect to http://web.mac.com/blossomsolutions. Through this excellent forum I learned how to insert meta tags into all my pages on the web.mac site using text edit successfully.
    Now, I'm wondering, will search engines find me if I have "no code" or meta tags at www.blossomsolutions.ca? Internic is only "redirecting" my URL not hosting it. It costs more money if they "host" my domain and I wouldn't have a clue how to set up an index.html page anyway for this domain. Even if I got someone to do this can you redirect an index.html page from blossomsolutions.ca to a web.mac.com page? i.e. does the domain code need to be empty in order for it to redirect?
    Thanks to anyone who can help me with this.
    Dazed and confused,
    Kathleen
    iMAC 2.16GHz 20"   Mac OS X (10.4.10)  
    iMac   Mac OS X (10.4.10)  
    iMac   Mac OS X (10.4.10)  
    iMac   Mac OS X (10.4.10)  

    Hello Kathleen,
    Welcome to the forum. You're site looks very clean and elegant.
    The domain name you purchased (http://www.blossomsolutions.ca/) is serving as a redirecting page to your iWeb generated web page. The answer to whether or not search engines will find you is both yes and no. Search engines use programs called "spiders" that find pages through links and trace out web pages.
    Given some time, sites like Google and MSN will likely find you website (and if you put meta tags in it will display that info in the search engine). But if you are like most iWeb users (myself included) you are impatient for your site to be picked up in search engines. Which is fine, since several search engines provide the means for you to submit your URL. Read this post for more information. http://discussions.apple.com/thread.jspa?messageID=3905977&#3905977
    Looks like you may have already submitted your .mac page.
    Another handy tip for looking up what information a search engine posses on your site is to type "site:" followed by the web address you wish to look up into a search engine. If the search engine has any of the pages to your site it will display them with the meta data they posses. Your site info can be found here. http://www.google.com/search?q=site:http://web.mac.com/blossomsolutions
    I checked your .ca address and google didn't come up with anything.
    Internic.ca should provide you with the means to apply a little bit of a description to your web address. Apart from that, you can't really add any meta data to the domain name.
    Unfortunately even when you get both web addresses picked up by search engines it won't associate them together. They may come up near each other in searches. But the search engine will see them as entirely different sites.
    You could host your site at the domain name if you chose to. The process of publishing is one click like to .mac. But you "Publish to a Folder" and then upload the complete page to the domain name. Its more difficult and cost more (if you chose to retain your .mac account) but it would give you better search engine rankings for your name.
    —"It costs more money if they "host" my domain and I wouldn't have a clue how to set up an index.html page anyway for this domain. Even if I got someone to do this can you redirect an index.html page from blossomsolutions.ca to a web.mac.com page? i.e. does the domain code need to be empty in order for it to redirect?"
    It isn't really worth it have them host your domain name only to put an index.html that redirects to your .mac. Thats basically what the domain forwarding is doing (minus a little bit of info).
    My advice is to keep things how you have them. But, just make sure you get the domain submitted to search engines.
    Hope this wasn't to long or confusing.
    Kind Regards,
    —Eric
    Ash Films
    (see my profile if you want to see my site)

  • How can I stop the oracle XSLT processor from inserting extra whitespace in HTML?

    How can I stop the oracle XSLT processor from inserting extra whitespace in HTML?

    Use <xsl:output mode="html" indent="no"/> as a top-level element child of your <xsl:stylesheet> element.

  • Inserting blockquote tags into a HTMLDocument

    G'Day,
    I'm having a bit of trouble inserting <blockquote> tags into a HTMLDocument.
    Basically I want the blockquote tags to implement an indent feature. ie, you click a button and all the text in the current paragraph gets surrunded by blockquote tags, which when rendered makes it indent.
    The code I'm using is:
    Element current = doc.getParagraphElement(pos);
    try
    doc.insertBeforeStart(current, "<blockquote>");
    doc.insertAfterEnd(current, "</blockquote>");
    catch (Exception e)
    lets say we have html like this:
    <p>
    hello
    </p>
    when this code runs, i get:
    <blockquote>
    </blockquote>
    <p>
    hello
    </p>
    I think that when I do the insertBeforeStart and insert the opening tag, after that completes the document is rendered and the end tag is put in there automatically???
    So, can anyone help me out here and suggest a better way?
    Cheers,
    Leighton.

    I've been trying to get <blockquote> insert working in an editor but it seems to be a quite difficult task even if it's only about inserting a couple of tags into the right slot! This is the closest I got:
    HTMLDocument doc = (HTMLDocument)editor.getDocument();
    int start = editor.getCaretPosition()
    int paraStart = doc.getParagraphElement(start).getStartOffset();
    int paraEnd = doc.getParagraphElement(start).getEndOffset();
    String insideBlockQuotes = doc.getText(paraStart, paraEnd - paraStart);
    doc.setOuterHTML(doc.getParagraphElement(start),"<blockquote><p>"+insideBlockQuotes+"</p></blockquote>");
    This is how it works: Get the current paragraphs start and end positions, read the text between the start and end into a string, replace the paragrapElement with <blockquote><p>..the text from string..</p></blockquote>.
    This works 'in about' but it's far from perfect.. it has the following problems:
    1. It looses all formatting from the quoted paragraph (bold etc. tags from the quoted part)
    2. It assumes that the paragraphElement was a <p> (could have been another element too!)
    3. It's ugly
    Anybody come up with a better way to use blockquote?

  • Insert BASE tag into HTMLDocument problem

    Hi,
    I've made a prog that read the HTML content from an URL, and write it into a file. But before writing it, I'd like to change the content to add <BASE href="http://www.site.com"></BASE> into the head part of the HTMLDocument. In my prog, I've made a insertBeforeEnd(...) to insert the <BASE> tag, but it's not inserted. I've made another insertBeforeEnd(...) to insert "hello world" (just for test) and it's inserted into the HTMLDocument. Can someone help me ? thanks a lot.
    My prog :
    import java.io.*;
    import java.net.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    public class InsertIntoHTML {
       public static void main(String[] args) {
          URL                  url = null;
          HttpURLConnection      conn;
          HTMLEditorKit         htmlKit;
          HTMLDocument         htmlDoc;
          InputStream            in;
          Element               head;
          boolean               ignoreCharSet = true;
          htmlKit = new HTMLEditorKit();
          htmlDoc = new HTMLDocument();
          try {
             url = new URL("http://www.google.com/");
          catch (java.net.MalformedURLException e) {}
          htmlDoc.putProperty(Document.StreamDescriptionProperty, url);
          htmlDoc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
          // read www.yahoo.com into HTML document
          try {
             conn = (HttpURLConnection) url.openConnection();
             in = conn.getInputStream();
             Reader reader = new InputStreamReader(in);
             Class c = Class.forName("javax.swing.text.html.parser.ParserDelegator");
             HTMLEditorKit.Parser parser = (HTMLEditorKit.Parser) c.newInstance();
             htmlDoc.setParser(parser);
             HTMLEditorKit.ParserCallback htmlReader = htmlDoc.getReader(0);
             parser.parse(reader, htmlReader, ignoreCharSet);
             htmlReader.flush();
          catch (javax.swing.text.BadLocationException ex) {}
          catch (java.lang.ClassNotFoundException e) {}
          catch (java.lang.InstantiationException e) {}
          catch (java.lang.IllegalAccessException e) {}
          catch (java.io.IOException e) {}
          htmlDoc.setBase(url);
          // find <HEAD> tag into HTML document
          head = getHeadElement(htmlDoc);
          try {
             // insert <BASE> tag into <HEAD> element
             htmlDoc.insertBeforeEnd(head, "<BASE href=\"http://www.google.com/\"></BASE>");
             htmlDoc.insertBeforeEnd(head, "Hello world !");
          catch (javax.swing.text.BadLocationException e) {}
          catch (java.io.IOException e) {}
          // write HTML document into file named yahoo.html      
          try {
             htmlKit.write(new FileOutputStream(new File("google.html")), htmlDoc, 0, htmlDoc.getLength());
          catch (java.io.FileNotFoundException e) {}
          catch (java.io.IOException e) {}
          catch (javax.swing.text.BadLocationException e) {}
       // Find first element into HTML document equals to tag parameter
       public synchronized static final Element findElement(Element root, HTML.Tag kind) {
          if(root == null) return(null);
          if(matchElementType(root, kind)) {
             return(root);
          int count = root.getElementCount();
          if(count > 0) {
             for(int i = 0 ; i<count ; i++) {
                Element child = root.getElement(i);
                Element e = findElement(child, kind);
                if(e != null)
                   return(e);
       return(null);
       public synchronized static final boolean matchElementType(Element e, HTML.Tag kind) {
          return(e.getAttributes().getAttribute(StyleConstants.NameAttribute) == kind);
       // Find HEAD element into HTML document
       public synchronized static final Element getHeadElement(HTMLDocument doc) {
          return(findElement(doc.getRootElements()[0], HTML.Tag.HEAD));

    first, thanks dvorhra09 for your help. unfortunately, if I use &lt; and &gt; instead of '<' and '>', the <BASE> tag is no more interpreted by my browser when the file is loaded, and the <BASE> tag is displayed textually. below, is what I tested :
    htmlDoc.insertBeforeEnd(head, "&lt;BASE href=\"http://www.google.com/\"&gt;&lt;/BASE&gt;");

  • How to insert h1 tags in muse

    I have tried to insert h1 tags in a muse site and then uploaded.
    When I come to test the site in SEO Analysis software it says there are no h1 tags!
    Any ideas?
    Thanks

    Hi
    How exactly you are defining the tags ?
    As Mac_heibu has suggested you can use paragraph styles and assign the tags.
    These videos will help you :
    http://tv.adobe.com/watch/learn-adobe-muse-cc/working-with-text-styles-create-a-paragraph- style/
    http://www.adobepress.com/articles/article.asp?p=1925239&seqNum=3
    http://www.lynda.com/Muse-tutorials/Creating-paragraph-styles/123518/131190-4.html
    Thanks,
    Sanjit

  • Can biztalk accept input xml with extra tags in it? if yes, How?

    I have the following sample input xml:
    <Students Class='xyz'>
    <Student count='0'>
    <FName value='Alex'/>
    <LName value='James'>
    <Age value='22'>
    <DOB value='01/01/2001'>
    <ID value='123'>
    </Student>
    <Student count='1'>
    <FName value='Victor'/>
    <LName value='Brown'>
    <Age value='23'>
    <DOB value='02/12/2000'>
    <ID value='541'>
    </Student>
    </Students>
    And my input schema accepts the xml which is similar to the above xml except it does not have <Age> and <DOB> tags in it. which means that the <Age> and <DOB> tags are extra tags in my input xml which is not
    required by the input schema.
    Question: is it possible in biztalk to accept the above xml as it is (i.e. along with <Age> and <DOB> tags) to populate the schema which accepts all xml except <Age> and <DOB> tags?
    Can it just pick up the required tags and populate the input schema?
    Thanks
    manibest

    Automatic change in the published schema on the basis of a received messages is still science fiction :)
    There is still a way for you to handle these messages. If in the receive pipeline you do not enforce schema validation, in your orchestration you use bound receive ports [not direct ports] and receive the message as an XMLDocument, you should still be able
    to receive/process the document.
    The ability of an predefined Schema to accept additional data elements is called an OPEN CONTENT Model [refer
    http://msdn.microsoft.com/en-us/library/aa468557.aspx] and you can create a schema to support such things if that is how you expect messages. So in your schema you define elements of type
    "xsd:any" to accept content changes even with schema validation turned on.
    Regards.

  • Insert new tags after root element

    Hi,
    I'm trying to insert new tags immediately after the root element in a DOM tree. The data to be inserted is being passed to the program as a string parameter. I've used Dom4J to add the data as a new element immediatelty after the root. Problem is, I'm not able to extract the content as a String from the document object. Here's my sample code :
    String addStr = "<div class=\"test2\">Test Val1</div><div class=\"test2\">Test Val2</div>";
    SAXReader reader = new SAXReader();
    String xml = "<div class=\"discussionThread dt\"><div class=\"dt_subject\">2011 IS HERE!</div></div>";
    Document document = reader.read(new StringReader(xml));
    DefaultElement newElement = new DefaultElement("div");
    newElement.addAttribute("class", "test");
    newElement.add(new DefaultText(addStr));
    List content = document.getRootElement().content();
    if (content != null ) {
            content.add(0, newElement);
    }There are couple of issues with this approach.
    1. I'm not able to find a way to convert the Document object content to String. The only API reference is asXML() which converts the document to a xml and sends it back as String. As a result of this, it adds a <xml> tag at the top.Also,the content within the added String has been parsed and converted to &gt; , &lt;
    Here's the output
    <?xml version="1.0" encoding="UTF-8"?>
    <div class="discussionThread dt"><div class="test">&lt;div class="test2"&gt;Test Val1&lt;/div&gt;&lt;div class="test2"&gt;Test Val2&lt;/div&gt;</div><div class="dt_subject">2011 IS HERE!</div></div>Just wanted to know if there's a better way to do this. Any pointers will be highly appreciated.
    -Thanks

    from oracle documentation...
    Old and new values are available in both BEFORE and AFTER row triggers. A new column value can be assigned in a BEFORE row trigger, but not in an AFTER row trigger (because the triggering statement takes effect before an AFTER row trigger is fired). If a BEFORE row trigger changes the value of new.column, then an AFTER row trigger fired by the same statement sees the change assigned by the BEFORE row trigger.
    for more details read the documentation

  • Insert Div Tag button does nothing. DWCS3

    Using the Insert Div Tag button all of the sudden does not add Div tags to the code view or dotted outline in Design view.
    Here's the code result from simply creating a new HTML doc, placing my entry point in the after <body>and click the Insert Div tag button.
    Any ideas?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>
    <MMString:LoadString id="insertbar/div" />
    </title>
    <!-- Copyright 2003 Macromedia, Inc. All rights reserved. -->
    </head>
    <body>
    </body>
    </html>

    Nevermind... simple as rebuilding the prefs.

  • Safari bookmarks no tags?

    Hi,
    just wanted to double-check: can I bookmark sites in Safari and assign tags to them... could not find the option so far.
    And - is there a way to use Safari address bar to find saved bookmarks (and I mean not only by the first word in bookmark - rather I mean a smart search where search is similar to FF 3)?
    Cheers,
    Juris

    You cannot assign tags to bookmarks--but you can rename them.
    Searching for bookmarks is limited to searching in specific groups by word or words.
    Mulder

  • Question re. inserting extra lines on a PDF table

    How do I insert extra lines in a table contained on a PDF?

    Hi Steve,
    That isn't something that you can do in Acrobat. However, you could use ExportPDF or Acrobat to save that PDF as an Excel spreadsheet, and add the extra line in Excel. For more information, see cloud.acrobat.com/exportpdf or www.adobe.com/products/acrobat.html cloud.acrobat.com/exportpdf.
    Best,
    Sara

  • Weblogic-ejb-jar.xml : Are following extra tags harmless?

    I am using xdoclets to generate descriptor file weblogic-ejb-jar.xml
    for a BMP entity bean. Xdoclet is generating the descriptor file
    alright, but is putting the following extra tags. This happens even
    for samples which come with the download, so my tags in java file are
    not wrong.
    My question is, are the extra tags below harmless, or should I
    manually go to each desciptor file and remove them?
    Thanks.
    ----------- EXTRA TAGS GENERATED START ---------
    persistence> <persistence-type>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-type>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    </persistence-use>
    </persistence>
    ----------- EXTRA TAGS GENERATED END ---------
    ----------- TAGS I PUT IN JAVA CLASS START --------
    * @ejb:bean name="com.ejb.entity.Customer"
    * jndi-name="com.ejb.entity.CustomerHome"
    * view-type="remote"
    * type="BMP"
    * primkey-field="com.ejb.entity.CustomerPK"
    * reentrant="false"
    * @weblogic:cache
    * max-beans-in-cache="1000"
    * read-timeout-seconds="900"
    * concurrency-strategy="ReadOnly"
    ----------- TAGS I PUT IN JAVA CLASS END --------

    Those tags just declare that you are using our CMP provider and that
    your descriptor is in META-INF/weblogic-cmp-rdbms-jar.xml.
    FWIW, you might also want to check out EJBGen. It tends to keep more up
    to date with WLS than xdoclet.
    -- Rob
    Gen wrote:
    I am using xdoclets to generate descriptor file weblogic-ejb-jar.xml
    for a BMP entity bean. Xdoclet is generating the descriptor file
    alright, but is putting the following extra tags. This happens even
    for samples which come with the download, so my tags in java file are
    not wrong.
    My question is, are the extra tags below harmless, or should I
    manually go to each desciptor file and remove them?
    Thanks.
    ----------- EXTRA TAGS GENERATED START ---------
    persistence> <persistence-type>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-type>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    </persistence-use>
    </persistence>
    ----------- EXTRA TAGS GENERATED END ---------
    ----------- TAGS I PUT IN JAVA CLASS START --------
    * @ejb:bean name="com.ejb.entity.Customer"
    * jndi-name="com.ejb.entity.CustomerHome"
    * view-type="remote"
    * type="BMP"
    * primkey-field="com.ejb.entity.CustomerPK"
    * reentrant="false"
    * @weblogic:cache
    * max-beans-in-cache="1000"
    * read-timeout-seconds="900"
    * concurrency-strategy="ReadOnly"
    ----------- TAGS I PUT IN JAVA CLASS END --------

Maybe you are looking for