Can't add formatted code to forum message

The new message editor is nice, except for the fact that it destroys formatting of code blocks! In the old editor, we could use the
tags to maintain formatting, but the new editor has no such tag.  Also, the HTML tag <pre> ... </pre> is not supported.
Since a lot of messages are code-related, and users include blocks of code in questions or replies, it would be a good idea to return the notion of pre-formatted blocks of text, so that the following example is averted:
<u>Example</u>
<b>
function myFunction(int x)
if(x < 2)
println("x < 2");
else if(x > 2 && x < 4)
println("x is between 2 and 4");
else
println("x > 4");
</b>
Horrible!
Walter

Hi Walter,
please read this post [here|Forum Upgrade - Some Details;. The old Java code filter is buggy and caused trouble due to infinite loops. Therefore we had to shut it down.
Anyway, as you can read in my first post, a new markup should be used: Just put two &#123;code&#125; around your code, and it will look like this:
System.out.println("Hallo");
Regards,
Michael

Similar Messages

  • How can I add advertisement code into flash game?

    hi mates,
    just want to ask about loading advertisement code!
    How do you add the advertisement code (adsense) into flash games??
    my site Funny Games have over 5k games but they are getting from others sites thus I have no original files. How can I add more code into the current files?

    Unless the games were pre-made to allow you to specify some variables in the page code or some external file, you won't be having any luck... you cannot add code to the games unless you have the source files, which you apparently don't have.

  • Can't Add instance code

    I am working on a flash file AS2 that contains some combo
    boxes.
    When I start the program I can right click on a button and
    add instance code ie current selection is the button.
    After working on the file for a while I can't do this.
    When I right click on new buttons and objects and select
    actions the current selection shows as the frame not the
    object I want to add code too.
    This is very frustrating as I basically can't add instance
    code.
    Any help would be greatly appreciated
    Alfred

    I think the problem was the pin current script button. Some
    how I clicked this and no matter what I right clicked on it would
    always take be to the last script I used before I hit the button.
    Thanks for your prompt response.
    Alfred

  • Can i add a sound alert or message when someone comments on a pic of a photo stream when i am only another participant (not owner of the photstream)?

    Hi,
    How can i add a sound alert or message when someone comments on a pic of a photo stream when i am only another participant (not owner of the photstream)? Thank you. Joana

    Joana,
    that should be automatic.
    See: http://help.apple.com/iphoto/mac/9.4/#pht884a8908
    When you like or comment on a photo in a shared stream, a notification is sent to all the Apple devices of the photo stream’s creator and subscribers. You can delete comments you added to a photo by placing the pointer over the comment and clicking the Delete button that appears.
    Usually the problem is the other way round - how to prervent spamming all subscribers to a shared stream from being alerted to each comment on a photo in the stream. Quite a few subcribers have cancelled their subscriptions to shared streams, because they have continously been sent alert messages and could not disable them. It can get rather annoying - there is no way to silently add a few comments to photos and then send only one alert.

  • Are there any directions on posting/formating code on forum?

    Someone once said that I should post code with special tokens so it can easily be checked and compiled.
    Are there special ways to post code on forum? Can't find any page about using special tokens.
    This was the note below?
    And it's not even possible to recompile your program to find out, because you didn't post it
    correctly (read the page about using special tokens to format your message).
    Thanks

    When you post, look above the subject box, you will see a link called special tokens.
    http://forum.java.sun.com/faq.jsp#messageformat

  • HT3529 Where can I add a signature to my messages being sent?

    Where can I add a signature to all of my outgoing text messages?

    The iPhone does not provide a setting to add a signature to SMS messages. The link the poster above provided only sets a signature for email accounts. Right now it is the same signature for all accounts, however it has been shown that iOS6 will allow for separate signatures for different accounts.

  • Can't add .ACSM files to ADE, message: "Error! Check activation"

    I am using Adobe Digital Editions 4.0.3 with a NOOK Simple Touch, running on a 64-bit 2009 Windows 7 machine. Recently I have been unable to download my library ebooks to my Nook. The electronic library I am using (a derivative of Overdrive, I think) only allows the download of books in the .acsm format. However, recently, I am unable to open the books in ADE. Instead, the only option I have is Adobe Reader. When I select the 'Browse' option and choose ADE and hit 'OK', nothing happens and it doesn't show up as an option. When I try and manually add a file to my ADE library, I get an error message saying 'Error! Check Activation". The only thing I even got halfway working was when I downloaded ADE 1.7.2. I got the .acsm files into the library (still, I had to add them all manually through the ADE interface). However, my NOOK will not open these files, even when using ADE 1.7.2. These are the things I have tried:
    -Downloading an e-book (in .acsm format) from the Digital Editions free book selections. Same issue
    -downloading and redownloading Adobe Digital Editions 4.0.3 (and removing the other program)
    -Downloading and redownloading Adobe Digital Editions 1.7.2 (and removing the other program)
    -Deauthorizing ADE (Every time it just says "Unable to erase authorization. Please try again after some time.")
    -Adding a book in ADE 1.7.2, getting ADE 4.0.3, transferring the book to the newer software, deleting 1.7.2, and syncing my nook with 4.0.3. Nook says it's not authorized
    -Doing a factory reset of my NOOK
    -Unblocking the .acsm files by going to Properties>General
    -TRYING (and failing) to automatically associate .acsm files with Adobe Digital Editions. Like trying to open a downloaded file with ADE, I get no response when I browse and select i
    (SIDE NOTE: my Adobe IDs all match. I know that is also not the issue).
    I think the issue here is that something is preventing .acsm files from opening in ADE, and nothing in particular is wrong with my NOOK. My only guess (which is probably misguided) is that Windows can't process my request for ADE to be the program to open .acsm files because it's in the x86 program files folder and not the default Program files folder. I've never heard of that being a problem but I can't think of another reason.
    If anyone has any ideas, please give them to me. I am actually typing all this for my grandmother, and she is going crazy without her library books.

    On the deactivation issue- I just had a similar issue where I could not deactivate and had to manually deactivate by deleting the activation information from Windows registry. That might help you as well.
    Follow the instructions below the disclaimer on this page: Error "E_AUTH_NOT_READY" | Digital Editions
    Or if you are more computer savvy, simply close Adobe Digital Editions and then delete this registry key:
    HKEY_CURRENT_USER\Software\Adobe\Adept

  • How can I add encoding code before column link works?

    Hi, guys:
    I have a question that may be silly. I want to pass multiple parameters of a row in an interactive report to another page through column link by specifing URL. It works OK. However, I found some of the parameters such as address in the report including character "#" or ".", parameters behind these characters cannot be passed by APEX. I know I need to encode it, and I know how to encode it. But I do not know where to add PL/SQL code so whenever user click the column link, the address can be encoded at first then to pass to another page?
    Thanks in advance.
    Sam

    Always post code wrapped in tags<tt>\...\</tt> tags to preserve formatting and special characters.
    lxiscas wrote:
    I am using such a query in page 211, Offender_id is primary key, In the column of MAP, I add URL as follows to pass values to page 3006 to generate a google map (I am using APEX 4.1):
    f?p=&APP_ID.:3006:&SESSION.::&DEBUG.::P3006_H_OFFENDER_NAME,P3006_H_OFFENDER_ID,P3006_H_ADDRESS_LATITUDE,P3006_H_ADDRESS_LONGITUDE,P3006_H_PHYSICAL_LATITUDE,P3006_H_PHYSICAL_LONGITUDE,P3006_H_ADDRESS,P3006_H_PHYSICAL_ADDRESS:#Offender Name#,#Offender ID#,#Address Latitude#,#Address Longitude#,#Physical Latitude#,#Physical Longitude#,#Address#,#Physical Address#The problem is Address and Physical Address canot passed successfully.
    select distinct 'MAP','Detail',so.doc_number as "DOC Number", so.offender_id as "Offender ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    so.date_of_birth as "Date of Birth",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'Unkown Address')  as "Address",
    nvl2(sl.physical_address1,sl.physical_address1||' '||sl.physical_city ||' '||sl.physical_county||' '||(select sc4.description from sor_code sc4 where sc4.code_id=sl.physical_state)||' '||sl.physical_zip, 'Unkown Address')  as "Physical Address",
    sl.status as "Status",
    sl.jurisdiction as "Jurisdiction",
    to_char(sl.ADDRESS_LATITUDE) as "Address Latitude",to_char(sl.address_longitude) as "Address Longitude",
    to_char(sl.physical_address_latitude) as "Physical Latitude",to_char(sl.physical_address_Longitude) as "Physical Longitude",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated",
    rox.status as "Registration Status",
    rox.registration_date as "Registration Date",
    rox.end_registration_date as "End Registration Date"
    from sor_location sl, sor_offender so, sor_code sc, registration_offender_xref rox, sor_last_locn_v sllv
    where rox.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.reg_type_id=1
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and ((so.first_name is not null and so.first_name like '%'||:P21_TF_FIRST_NAME||'%')
    or (:P21_TF_FIRST_NAME is null)
    and ((so.last_name is not null and so.last_name like '%'||:P21_TF_LAST_NAME||'%')
    or (:P21_TF_LAST_NAME is null))
    and ((sl.address1||sl.address2 is not null and sl.address1||sl.address2 like '%'||:P21_TF_ADDRESS||'%')
    or (:P21_TF_ADDRESS is null))
    and ((sl.city is not null and sl.city like '%'||:P21_TF_CITY||'%')
    or (:P21_TF_CITY is null))
    and ((sl.county is not null and sl.county =:P21_SL_COUNTY)
    or (:P21_SL_COUNTY is null))
    and (((select sc5.description from sor_code sc5 where sc5.code_id=sl.state and sc5.description=:P21_SL_STATE) is not null )
    or (:P21_SL_STATE is null))
    and ((sl.zip is not null and sl.zip =:P21_TF_ZIP_CODE)
    or (:P21_TF_ZIP_CODE is null))
    I'd suggest passing <tt>sor_offender.offender_id</tt> and <tt>sor_location.location_id</tt> to items on page 3006. Retrieve the derived values for <tt>P3006_H_OFFENDER_NAME, P3006_H_ADDRESS_LATITUDE, P3006_H_ADDRESS_LONGITUDE,P3006_H_PHYSICAL_LATITUDE, P3006_H_PHYSICAL_LONGITUDE, P3006_H_ADDRESS, P3006_H_PHYSICAL_ADDRESS</tt> using queries in a Before Header process.

  • How can I add text to a reply message on Mac

    When replying to an email message via the Mail.app (on Mac), I would like my lines to have my name at the beginning of the line, and have it in a different font (similar to what Outlook does).
    I was thinking of writing an AppleScript that will insert my mail, and change its font. The script will be bound to some shortcut.
    1. Is there a script / option that is already doing it?
    2. If not - how can I insert specific text into the current place in an existing email, preferably not by writing it somewhere else and simulating command-v?
    Thanks

    Thanks for your reply. The line that you mention is added at the top of the message, and includes the original sender's email. I would like my name to appear, next to each line I add in the text of the original mail.
    For example:
    Assuming my name is Joe Smith, what I would like to have as the final reply is described below.
    The lines that start with "[Joe Smith]" are my replies, to the original items in the original mail.
    On 21 Feb 2013, at 09:03, Jon Doe wrote:
    We need an effort estimation for thenew feature
    [Joe Smith] It will be about 2 days
    and additional resources needed
    [Joe Smith] 2 new icons

  • Can I add a 'To' column in message lists?

    When looking at sent items, I want to add a 'To' column in the message list so I can see who they were sent to but I can't see this option anywhere. Is it possible?

    Thanks Matt, I was blindly looking for 'To' and completely overlooked 'Recipient'!

  • I can't add phising protection toolbar & get message that my version of Firefox isn't the latest, when it is.

    Actually, there's another element. I get a message saying there's a update available that I should add, but when I click on that there's no update (and my preferences are set to receive updates automatically). Then I get a message about installing anti-phishing, which (it says) needs to be added to my toolbar. But when I click on that it says it can't install that because I don't have the latest version of Firefox, but I do (I just downloaded it again, just in case).

    The problem is not Firefox - it's Google. They have changed the safesearch options.
    The way round it is to add the word 'nude' or similar to your keywords. Then you'll get taken to an 'are you sure' type option before finally showing you your results.
    More on these websites:
    http://thenextweb.com/google/2012/12/12/google-changes-search-image-safesearch-explicit/
    http://www.webpronews.com/google-preventing-u-s-users-from-disabling-safesearch-2012-12

  • How can I add a signature to text messages?

    Is there a way to have my name automatically added to the end of text messages?

    In a word, no.
    You can use this link to send Apple your feedback.
    http://www.apple.com/feedback/iphone.html

  • Anyone can help on t-code: MR08 error message 00349

    When i'm going to post the Cancel Invoice document, there is an error .
    Field BSEG-REBZZ. does not exist in the screen SAPMM08R 0110
         Message no. 00 349
    Diagnosis
         The specified field does not exist on the screen.
    Procedure
         Check your batch input data.
    Can anyone guide me?

    Hi
    You might have to adjust the field status control to solve the problem. please check.
    also you can search for OSS.
    regards
    Srinivas

  • How can I add code (web counter like statcounter) to iWeb '08?

    Hi,
    I have a website that was created in iWeb '08. I would like to add web counting code to my whole site (across all pages), something like statcounter. Is there a way to insert code to all the pages in the site?
    Thanks!

    QuickTimeKirk wrote:
    You need to add that code after you publish your iWeb pages.
    Then "hand edit" those html files using any "plain text editor" and save those files.
    You can also add Statcounter code in an html snippet (it works).
    You can also add it automatically to all your pages post-publishing using
    iWebExpander (it's free): http://guimkie.com/projects/iwebexpander
    or iComment ( costs 10$): http://web.mac.com/cbrantly/iWeb/Software/iComment.html
    Regards,
    Cédric

  • Inserting images in forum message?

    Hi,
    Is it possible to insert attached images inline in the forum messages (similar to what you can do in the wiki pages)
    We in our organization are using forum which comes with portal.
    Regards,
    Amit

    Hi Amit,
    its not possible to insert images in forum text, but you can attach images,docs to the forum message. To change attached files size,number of attachments and type you should have forum administrator role.
    Forums come with portal are jive forums , you can check administration guides on jive forums in Google.
    Regards,
    Mahesh.

Maybe you are looking for

  • Creative cloud won't sign in

    Using CC on Windows 8.1, 64-bit machine. Also have it on a Mac within terms of agreement. Trying to sign in using Updater or CC App, but it won't let me. Each time I sign in, it comes up with the message 'You've been signed out'. Tried multiple times

  • Problem with N70 and 6630

    Recently i have been having problems with my N70 if i try to send a message i get a Error message come up ' Sending failed' and when i click on info it says : General: Memory Full. Close some applications and try again. the thing is i have plenty of

  • Xorg 7 broke amsn

    hello, I've been running Xorg 7 since a month also i always used amsn, it was great, but after the last update of Xorg 7, my amsn turned out to be broken [wael@nasreddine ~]$ amsn Application initialization failed: this isn't a Tk applicationinvalid

  • Webdynpro ABAP Scenario

    Hi, Can we develop a WD ABAP application on system1(ECC 6.0) which has to access standard,custom infotypes on system2 (ECC5.0) process/update them. Can we use EP 6.0 to display the WD ABAP application as an iVIew. Edited by: SDN User on Nov 13, 2008

  • Installation with setup.msi

    Hello, I have a user who's trying to upgrade to the latest version of our software but is running into issues. He's on windows XP SP 3 Even trying to uninstall the software results in errors.  Please let me know if you have any qustions or need furth