HTML paragraph

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

HTML paragraph does not preserve the consecutive number of spaces. Simulate that behaviour.
--nn
P.S.
The previous problem description of "A Japanese counting system" should have been <pre>'ed. The following was intended. (Hope displayed correctly this time.)


******* ******* ******* ******* *******
* * * *
* *** * *** * ***
* * * * * *
*******

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

*******
       
       
       
       
*******
   *   
   *   
   *   
       
*******
   *   
   *** 
   *   
       
*******
   *   
 * *** 
 * *   
       
*******
   *   
 * *** 
 * *   
*******

Sample output:

*******




*******
*
*
*

*******
*
***
*

*******
*
* ***
* *

*******
*
* ***
* *
*******

Sample input:_

******* *******
   *       *   
 * ***   * *** 
 * *     * *   
******* *******
******* ******* *******
   *       *       *   
 * ***   * ***     *   
 * *     * *       *   
******* *******        
******* ******* *******
   *       *       *   
 * ***   * ***   * *** 
 * *     * *     * *   
******* *******        
******* ******* *******
   *       *       *   
 * ***   * ***   * *** 
 * *     * *     * *   
******* ******* *******

Sample output:

******* *******
* *
* *** * ***
* * * *
******* *******
******* ******* *******
* * *
* *** * *** *
* * * * *
******* *******
******* ******* *******
* * *
* *** * *** * ***
* * * * * *
******* *******
******* ******* *******
* * *
* *** * *** * ***
* * * * * *
******* ******* *******

Sample input:_

*******
   *   
   *** 
   *   
       
******* *******
   *       *   
 * ***     *** 
 * *       *   
*******        
******* *******
   *       *   
 * ***   * *** 
 * *     * *   
******* *******

Sample output:

*******
*
***
*

******* *******
* *
* *** ***
* * *
*******
******* *******
* *
* *** * ***
* * * *
******* *******

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid210.06012011/12/27 23:03:290B / ?B / ?B
2yibe210.10092011/12/28 04:02:080B / 8B / 10B
3teebee210.06922011/12/28 05:23:300B / 8B / 10B
4eban210.04962011/12/28 10:55:410B / 11B / 7B
5kaki210.23862011/12/28 12:26:560B / 8B / 10B
6clock210.06832011/12/28 16:27:000B / 8B / 10B
7uru210.05392011/12/29 21:19:320B / 8B / 10B
8yvl210.06232011/12/31 16:36:400B / 11B / 7B
9Zauberer210.05822011/12/31 19:12:280B / 11B / 7B

Perl _

RankUserSizeTimeDateStatistics
1tybalt89190.14692011/12/28 03:55:210B / ?B / ?B
2yibe190.09952011/12/28 04:01:580B / 8B / 9B
3teebee190.05322011/12/28 05:16:440B / 8B / 9B
4nai190.05082011/12/28 09:39:270B / 8B / 9B
5addps4cat190.05552011/12/28 15:29:310B / 8B / 9B
6eban190.04382011/12/29 02:26:550B / 8B / 9B
7MG190.06522011/12/31 05:20:310B / 8B / 9B
8Bass190.05092012/01/03 20:52:510B / ?B / ?B
9prakash230.04782011/12/30 08:37:360B / 13B / 9B
10clock230.05002012/01/03 22:11:120B / 7B / 10B
11migo260.08642011/12/28 23:24:470B / 15B / 9B
12_270.17742011/12/31 22:03:071B / 9B / 14B
13dcutter340.06582011/12/28 01:10:070B / 9B / 19B
14teebee(alnum)640.05222012/01/03 07:51:470B / 55B / 0B

Python _

RankUserSizeTimeDateStatistics
1leonid420.44802011/12/27 23:06:450B / ?B / ?B
2hallvabo420.15122011/12/27 23:25:520B / 28B / 12B
3teebee420.18382011/12/28 05:25:340B / 28B / 12B
4Hendrik420.12002011/12/28 06:34:110B / 28B / 12B
5twobit420.38492011/12/28 20:59:250B / 28B / 12B
6kaki420.49652012/01/03 20:34:170B / 28B / 12B

PHP _

RankUserSizeTimeDateStatistics
1teebee490.12382011/12/31 10:35:4212B / 23B / 14B
2clock490.09572011/12/31 11:15:3411B / 23B / 15B

Scheme _

RankUserSizeTimeDateStatistics
1kaki700.10142012/01/03 19:58:290B / 35B / 30B
2kaki680.15142012/04/28 06:42:430B / 35B / 29B

Io _

RankUserSizeTimeDateStatistics
1pooq650.42632011/12/29 01:00:450B / 54B / 6B

JavaScript _

RankUserSizeTimeDateStatistics
1nn460.08392011/12/28 20:53:480B / 29B / 17B
20mg460.06192011/12/29 18:46:200B / 28B / 18B
3clock480.06412011/12/29 01:03:080B / 24B / 20B
4kaki480.06522012/01/03 20:08:050B / 24B / 20B
5Hendrik540.24862011/12/30 08:02:450B / 27B / 26B
6_E700.05752011/12/29 17:01:300B / 33B / 32B

Lua _

RankUserSizeTimeDateStatistics
1pooq550.04532011/12/29 06:11:300B / 22B / 29B
2twobit550.04382011/12/30 07:08:250B / 22B / 29B
3Hendrik550.04332011/12/31 19:24:440B / 22B / 29B
4teebee420.04392012/01/03 23:04:520B / 18B / 22B

Xtal _

RankUserSizeTimeDateStatistics
1pooq700.14752011/12/29 11:41:270B / 36B / 31B
2teebee700.07482011/12/31 00:37:390B / 36B / 31B

Kite _

RankUserSizeTimeDateStatistics
1teebee600.62382011/12/30 12:20:460B / 36B / 22B

REXX _

RankUserSizeTimeDateStatistics
1pooq290.04482012/04/13 10:36:400B / 21B / 2B

J _

RankUserSizeTimeDateStatistics
1I., S.260.15432011/12/30 21:39:560B / 18B / 6B
2pooq290.10642011/12/29 02:53:120B / 16B / 13B
3I., S.200.15322012/02/11 21:24:560B / 10B / 10B

K _

RankUserSizeTimeDateStatistics
1teebee300.03382012/07/04 03:18:490B / 9B / 20B

C _

RankUserSizeTimeDateStatistics
1nai610.05622011/12/29 21:00:520B / 34B / 27B
2inaniwa640.04242011/12/28 16:18:280B / 32B / 31B
3nn730.04062011/12/29 11:28:120B / 39B / 34B
4bk1e920.04222011/12/29 14:11:340B / 50B / 42B
5allemo1390.04112011/12/29 06:33:430B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1rst76420.05482011/12/30 23:14:170B / 33B / 9B
2kaki420.09712012/01/03 20:19:180B / 33B / 9B
3Hendrik460.05402011/12/31 03:07:590B / 39B / 7B

Java _

RankUserSizeTimeDateStatistics
1teebee1161.06762011/12/30 12:18:510B / 71B / 40B
2hakusui1340.27352011/12/27 23:10:580B / 85B / 42B

Maxima _

RankUserSizeTimeDateStatistics
1pooq780.33302011/12/29 04:24:070B / 38B / 36B

REBOL _

RankUserSizeTimeDateStatistics
1pooq410.17002011/12/29 03:27:390B / 27B / 11B
2teebee(pooq)390.06242012/07/21 07:33:390B / 27B / 9B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee670.37822011/12/29 05:14:480B / 28B / 31B
2pooq840.39182011/12/29 05:31:110B / 37B / 41B

AWK _

RankUserSizeTimeDateStatistics
1eban70.04882011/12/28 01:00:200B / 3B / 4B
2teebee70.05392011/12/28 01:58:150B / 3B / 4B
3I., S.70.04472011/12/30 21:53:320B / 4B / 3B
4migo70.04322011/12/31 10:39:540B / 3B / 4B
5twobit70.05022012/01/02 03:14:490B / 3B / 4B

sed _

RankUserSizeTimeDateStatistics
1teebee160.05532011/12/28 23:50:250B / 2B / 10B
2clock160.04672011/12/28 23:51:010B / 2B / 10B
3kaki160.08042012/01/03 19:40:470B / 2B / 10B
4eban210.04102011/12/29 02:21:090B / 4B / 12B

Bash _

RankUserSizeTimeDateStatistics
1migo130.05312011/12/31 10:40:340B / 6B / 6B
2teebee130.05812011/12/31 12:04:310B / 6B / 6B
3clock150.05412011/12/31 10:54:050B / 6B / 8B
4eban260.10172011/12/28 00:57:480B / 8B / 12B

Zsh _

RankUserSizeTimeDateStatistics
1migo130.18172011/12/31 10:40:210B / 6B / 6B
2teebee130.14612011/12/31 12:04:400B / 6B / 6B

Fish _

RankUserSizeTimeDateStatistics
1teebee130.33452011/12/31 12:04:480B / 6B / 6B

wake _

RankUserSizeTimeDateStatistics
1teebee310.06502011/12/30 12:22:240B / 4B / 24B
2clock350.06082011/12/28 22:41:300B / 2B / 27B

xgawk _

RankUserSizeTimeDateStatistics
1migo70.04702011/12/31 10:49:400B / 3B / 4B
2teebee70.05362011/12/31 12:33:550B / 3B / 4B

R _

RankUserSizeTimeDateStatistics
1pooq591.79602011/12/29 06:50:380B / 27B / 26B

GolfScript _

RankUserSizeTimeDateStatistics
1leonid140.10212011/12/27 23:22:110B / ?B / ?B
2clock140.14802011/12/28 00:16:410B / 2B / 10B
3nai140.10512011/12/28 09:47:380B / 2B / 10B
4tails140.20512011/12/28 20:32:500B / 2B / 10B
5twobit140.09132011/12/28 21:04:520B / 2B / 10B
6narb140.15502012/01/03 18:51:210B / 2B / 10B
7kaki140.12602012/01/03 20:21:010B / 2B / 10B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs40.24992015/02/22 11:37:331B / 2B / 1B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu70.54302011/12/28 01:15:090B / ?B / ?B
2nai70.20982012/01/01 10:15:180B / 3B / 4B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik70.03762014/05/25 17:44:290B / 6B / 1B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*270.67282011/12/28 19:43:1815B / 9B / 1B

Vim _

RankUserSizeTimeDateStatistics
1clock200.09332011/12/29 01:56:490B / 4B / 11B
2nn210.08722012/01/01 15:32:402B / 5B / 9B
3clock(nn)180.60882012/01/03 22:35:160B / 5B / 9B

Groovy _

RankUserSizeTimeDateStatistics
1hakusui455.63132011/12/28 07:58:020B / 25B / 18B
2nn454.85082011/12/28 20:43:540B / 25B / 18B

Scala _

RankUserSizeTimeDateStatistics
1teebee538.53332011/12/29 00:23:120B / 32B / 16B

Logo _

RankUserSizeTimeDateStatistics
1teebee190.05502011/12/28 21:37:040B / 15B / 2B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs410000
2AWKeban75714
3FlogScriptmilieu75714
4xgawkmigo75714
5BurlesqueHendrik75714
6Zshmigo133076
7Bashmigo133076
8Fishteebee133076
9GolfScriptleonid142857
10sedteebee162500
11Vimclock(nn)182222
12Perltybalt89192105
13Logoteebee192105
14JI., S.202000
15Rubyleonid211904
16z80*yuko*271481
17REXXpooq291379
18Kteebee301333
19waketeebee311290
20REBOLteebee(pooq)391025
21Pythonleonid42952
22Haskellrst7642952
23Luateebee42952
24Groovyhakusui45888
25JavaScriptnn46869
26PHPteebee49816
27Scalateebee53754
28Rpooq59677
29Kiteteebee60666
30Cnai61655
31Iopooq65615
32Asymptoteteebee67597
33Schemekaki68588
34Xtalpooq70571
35Maximapooq78512
36Javateebee116344

return top